Skip to content

Commit

Permalink
fix(tests): don't lock db when doing queue.receive
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mulier-p committed Jun 12, 2024
1 parent dfa5151 commit 8daccdc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ void flow() throws Exception {
AtomicReference<Execution> last = new AtomicReference<>();

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

queueCount.countDown();
assertThat(execution.getLeft().getFlowId(), is("trigger"));
});
}, false);

worker.run();
scheduler.run();
Expand Down

0 comments on commit 8daccdc

Please sign in to comment.