Skip to content

Commit

Permalink
add sleep time before any test function
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-airbyte committed Feb 20, 2024
1 parent 5d1d9e8 commit c046564
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl
} else {
logLineSuffix = "execution of unknown intercepted call %s".formatted(methodName);
}
int sleepTimeMs = 5000;
LOGGER.info(String.format("Junit sleeping %d ms before %s", sleepTimeMs, logLineSuffix.toString()));
Thread.sleep(sleepTimeMs);
LOGGER.info("Junit starting {}", logLineSuffix);
try {
Instant start = Instant.now();
Expand Down

0 comments on commit c046564

Please sign in to comment.