Skip to content

Commit

Permalink
Fix to unit test for owls-85429 (#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankedia authored Nov 24, 2020
1 parent 962c3e1 commit 12dbc13
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 12dbc13

Please sign in to comment.