Skip to content

Commit

Permalink
Make sure default configuration is restored after test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnouwt committed Nov 22, 2024
1 parent 3de0460 commit 4fb815d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public void testConfigValidateFalse() {
}

LOG.info("Result: {}", askResult);
System.setProperty("sc.validate.outgoing.bindings.wrt.incoming.bindings", "true");
}

@Test
Expand Down Expand Up @@ -130,6 +131,7 @@ public void testConfigWaitForKnowledgeBaseNegative() {

LOG.info("Result: {}", askResult);
waitTimeout = 0;
System.setProperty("ke.kb.wait.timeout", "10");
}

@Test
Expand Down Expand Up @@ -158,6 +160,7 @@ public void testConfigWaitForKnowledgeBasePositive() {
}

LOG.info("Result: {}", askResult);
System.setProperty("ke.kb.wait.timeout", "10");
}

@AfterEach
Expand Down

0 comments on commit 4fb815d

Please sign in to comment.