Skip to content

Commit

Permalink
Repeat test
Browse files Browse the repository at this point in the history
  • Loading branch information
coderzc committed Nov 22, 2023
1 parent f45f5aa commit 8308217
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
import org.apache.hugegraph.util.Log;
import org.junit.Before;
import org.junit.Test;
import org.junit.jupiter.api.RepeatedTest;
import org.mockito.Mockito;
import org.slf4j.Logger;

Expand Down Expand Up @@ -222,7 +223,7 @@ public void testUnSchedulable() {
future.cancel(true);
}

@Test
@RepeatedTest(20)
public void testJobCancelled() {
super.updateOptions(KubeSpecOptions.MASTER_ARGS.name(),
Lists.newArrayList("pwd && sleep 60"));
Expand Down

0 comments on commit 8308217

Please sign in to comment.