Skip to content

Commit

Permalink
fix: trigger test
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Jun 30, 2023
1 parent 410ce05 commit 61cf822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/kestra/plugin/nats/TriggerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ protected Execution triggerFlow() throws Exception {
CountDownLatch queueCount = new CountDownLatch(1);

// scheduler
Worker worker = new Worker(applicationContext, 8, null);
try (
AbstractScheduler scheduler = new DefaultScheduler(
this.applicationContext,
this.flowListenersService,
this.triggerState
);
Worker worker = new Worker(applicationContext, 8, null);
) {
AtomicReference<Execution> last = new AtomicReference<>();

Expand Down

0 comments on commit 61cf822

Please sign in to comment.