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 dfe512d commit 10d186c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/io/kestra/plugin/aws/s3/TriggerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ void flow() 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
2 changes: 1 addition & 1 deletion src/test/java/io/kestra/plugin/aws/sqs/TriggerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ void flow() 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 10d186c

Please sign in to comment.