Skip to content

Commit

Permalink
Fix a tests assert
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Feb 7, 2025
1 parent fb2ef27 commit f79114d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/nerves_hub_web/channels/websocket_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ defmodule NervesHubWeb.WebsocketTest do
# that it is ready to receive updates, which can take a second or two.
# using this different status allows us to tell the orchestrator to only
# schedule update for devices that have "finished" connecting
eventually assert(device_connection.status == :connected), 3_000
eventually assert(Connections.get_latest_for_device(device.id).status == :connected), 3_000

assert recent_datetime(device_connection.established_at)
assert recent_datetime(device_connection.last_seen_at)
Expand Down

0 comments on commit f79114d

Please sign in to comment.