From f9df4cf3f18d7182c410c04a9ab0a1b29a1660b3 Mon Sep 17 00:00:00 2001 From: nickfelt Date: Fri, 28 Apr 2017 17:21:27 -0700 Subject: [PATCH] Revert unintentional no-op log handler attachment This snuck in from [] but was just a vestige of when I was testing with the tests still in FlowRunner test and wanted to make sure they still passed with the logging moved to FlowReporter. Now that the tests are in FlowReporterTest and FlowReporter is mocked out here, attaching the handler to that logger is a no-op. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154601472 --- javatests/google/registry/flows/FlowRunnerTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/javatests/google/registry/flows/FlowRunnerTest.java b/javatests/google/registry/flows/FlowRunnerTest.java index fd59a777c..97ad19fc9 100644 --- a/javatests/google/registry/flows/FlowRunnerTest.java +++ b/javatests/google/registry/flows/FlowRunnerTest.java @@ -72,7 +72,6 @@ public class FlowRunnerTest extends ShardableTestCase { @Before public void before() { Logger.getLogger(FlowRunner.class.getCanonicalName()).addHandler(handler); - Logger.getLogger(FlowReporter.class.getCanonicalName()).addHandler(handler); flowRunner.clientId = "TheRegistrar"; flowRunner.credentials = new PasswordOnlyTransportCredentials(); flowRunner.eppRequestSource = EppRequestSource.UNIT_TEST;