Skip to content

Commit

Permalink
Unit test for SimpleScheduler::pause functionality
Browse files Browse the repository at this point in the history
Pause and check isRunning returns false and scheduler doesn't trigger CountDownLatch::countDown
  • Loading branch information
RustamSultansoy committed Nov 28, 2020
1 parent cbcf737 commit 63ed5da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package io.quarkus.scheduler.test;

import static org.junit.jupiter.api.Assertions.assertFalse;

import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

Expand All @@ -15,8 +17,6 @@
import io.quarkus.scheduler.Scheduler;
import io.quarkus.test.QuarkusUnitTest;

import static org.junit.jupiter.api.Assertions.assertFalse;

public class PausedSchedulerTest {

@RegisterExtension
Expand Down

0 comments on commit 63ed5da

Please sign in to comment.