Skip to content

Commit

Permalink
refactor(test): adjust to last oss queue signature
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Sep 5, 2023
1 parent 98c571c commit 37df21a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/kestra/plugin/amqp/TriggerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ void flow() throws Exception {
AtomicReference<Execution> last = new AtomicReference<>();

executionQueue.receive(TriggerTest.class, execution -> {
last.set(execution);
last.set(execution.getLeft());

queueCount.countDown();
assertThat(execution.getFlowId(), is("trigger"));
assertThat(execution.getLeft().getFlowId(), is("trigger"));
});
Publish task = Publish.builder()
.id(TriggerTest.class.getSimpleName())
Expand Down

0 comments on commit 37df21a

Please sign in to comment.