Skip to content

Commit

Permalink
Merge pull request #51 from bbalser/fix_int_test
Browse files Browse the repository at this point in the history
Fixed test by adding hack added TODO to figure out better solution
  • Loading branch information
Brian Balser authored Nov 6, 2019
2 parents e3ab99d + 15cdf4f commit 3d2b5ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/elsa/consumer/worker_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ defmodule Elsa.Consumer.WorkerTest do
]
)

# TODO we should probably come up with a better solution for this
Process.sleep(1_000)

Elsa.produce(@endpoints, "latest-only-topic", {"2", "homerun"}, partition: 0)

assert_receive [%Elsa.Message{value: "homerun"}], 5_000
Expand Down

0 comments on commit 3d2b5ea

Please sign in to comment.