Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Octogonapus committed Aug 9, 2024
1 parent d80c2e8 commit af79b52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/interrupt_connection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
# kill the MQTT connection
run(`sudo ss -K dport = 8883`)

wait_for(() -> resumes[] > 0)
@test interruptions[] == 1
@test resumes[] == 1

disconnect(connection)
end

0 comments on commit af79b52

Please sign in to comment.