From 12dbc131be225e65d40b3fb5cdb3143c5c01445b Mon Sep 17 00:00:00 2001 From: Anil Kedia <37935279+ankedia@users.noreply.github.com> Date: Tue, 24 Nov 2020 14:14:16 -0500 Subject: [PATCH] Fix to unit test for owls-85429 (#2074) --- .../operator/helpers/AdminPodHelperTest.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/operator/src/test/java/oracle/kubernetes/operator/helpers/AdminPodHelperTest.java b/operator/src/test/java/oracle/kubernetes/operator/helpers/AdminPodHelperTest.java index c6938ff6369..320a6dfc4a0 100644 --- a/operator/src/test/java/oracle/kubernetes/operator/helpers/AdminPodHelperTest.java +++ b/operator/src/test/java/oracle/kubernetes/operator/helpers/AdminPodHelperTest.java @@ -112,11 +112,6 @@ public void whenConfigurationAddsEnvironmentVariable_replacePod() { @Override protected void verifyPodReplaced() { - testSupport.addComponent( - ProcessingConstants.PODWATCHER_COMPONENT_NAME, - PodAwaiterStepFactory.class, - new NullPodAwaiterStepFactory(terminalStep)); - testSupport.runSteps(getStepFactory(), terminalStep); assertThat(logRecords, containsInfo(getReplacedMessageKey())); @@ -145,11 +140,6 @@ V1Pod createPod(Packet packet) { @Test public void whenDeleteReportsNotFound_replaceAdminPod() { - testSupport.addComponent( - ProcessingConstants.PODWATCHER_COMPONENT_NAME, - PodAwaiterStepFactory.class, - new NullPodAwaiterStepFactory(terminalStep)); - initializeExistingPod(getIncompatiblePod()); testSupport.failOnDelete(KubernetesTestSupport.POD, getPodName(), NS, CallBuilder.NOT_FOUND);