Skip to content

Commit

Permalink
enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyYangPassion committed Aug 26, 2024
1 parent 734401e commit 18ae326
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ public void testGremlinJobAndCancel() throws TimeoutException {

HugeTask<Object> task = runGremlinJob("Thread.sleep(1000 * 10);");

sleepAWhile();
sleepAWhile(200 * 6);
task = scheduler.task(task.id());
scheduler.cancel(task);

Expand Down Expand Up @@ -686,7 +686,7 @@ private HugeTask<Object> runGremlinJob(String gremlin) {
}

private static void sleepAWhile() {
sleepAWhile(1000);
sleepAWhile(100);
}

private static void sleepAWhile(long ms) {
Expand Down

0 comments on commit 18ae326

Please sign in to comment.