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 13d96e3 commit 3d7e50e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/kestra/plugin/gcp/bigquery/TriggerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ void flow() throws Exception {

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

queueCount.countDown();
assertThat(execution.getFlowId(), is("bigquery-listen"));
assertThat(execution.getLeft().getFlowId(), is("bigquery-listen"));
});


Expand Down
4 changes: 2 additions & 2 deletions src/test/java/io/kestra/plugin/gcp/gcs/TriggerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ void flow() throws Exception {

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

queueCount.countDown();
assertThat(execution.getFlowId(), is("gcs-listen"));
assertThat(execution.getLeft().getFlowId(), is("gcs-listen"));
});


Expand Down
4 changes: 2 additions & 2 deletions src/test/java/io/kestra/plugin/gcp/pubsub/TriggerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ void flow() throws Exception {

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

queueCount.countDown();
assertThat(execution.getFlowId(), is("pubsub-listen"));
assertThat(execution.getLeft().getFlowId(), is("pubsub-listen"));
});


Expand Down

0 comments on commit 3d7e50e

Please sign in to comment.