Skip to content

Commit

Permalink
Missed fixing a test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hosoai committed Jun 25, 2024
1 parent 71f8050 commit a769b19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/zenohex/examples/session_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ defmodule Zenohex.Examples.SessionTest do
me = self()
callback = fn sample -> send(me, sample) end

# This sleep is used to delegate asynchronous processing to Zenoh beyond the NIF.
Process.sleep(1)

assert Session.get("key/expression/**", callback) == :ok
assert_receive %Zenohex.Sample{}
end
Expand Down

0 comments on commit a769b19

Please sign in to comment.