Skip to content

Commit 12dbc13

Browse files
authored
Fix to unit test for owls-85429 (#2074)
1 parent 962c3e1 commit 12dbc13

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

operator/src/test/java/oracle/kubernetes/operator/helpers/AdminPodHelperTest.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ public void whenConfigurationAddsEnvironmentVariable_replacePod() {
112112

113113
@Override
114114
protected void verifyPodReplaced() {
115-
testSupport.addComponent(
116-
ProcessingConstants.PODWATCHER_COMPONENT_NAME,
117-
PodAwaiterStepFactory.class,
118-
new NullPodAwaiterStepFactory(terminalStep));
119-
120115
testSupport.runSteps(getStepFactory(), terminalStep);
121116

122117
assertThat(logRecords, containsInfo(getReplacedMessageKey()));
@@ -145,11 +140,6 @@ V1Pod createPod(Packet packet) {
145140

146141
@Test
147142
public void whenDeleteReportsNotFound_replaceAdminPod() {
148-
testSupport.addComponent(
149-
ProcessingConstants.PODWATCHER_COMPONENT_NAME,
150-
PodAwaiterStepFactory.class,
151-
new NullPodAwaiterStepFactory(terminalStep));
152-
153143
initializeExistingPod(getIncompatiblePod());
154144
testSupport.failOnDelete(KubernetesTestSupport.POD, getPodName(), NS, CallBuilder.NOT_FOUND);
155145

0 commit comments

Comments
 (0)