Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions crates/cli/tests/coverage/shared/bootstrap_state_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ fn authenticated_owned_gateway_is_shut_down_and_cleaned_up() {
header(&request, "x-nemo-relay-bootstrap-token"),
"shutdown-token"
);
// Close the listener before acknowledging shutdown so the verifier's
// immediate health probe cannot race this fixture's teardown.
drop(listener);
shutdown
.write_all(b"HTTP/1.1 204 No Content\r\nContent-Length: 0\r\nConnection: close\r\n\r\n")
.unwrap();
Expand Down