Skip to content

Commit

Permalink
Update tcp_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
  • Loading branch information
mmorel-35 authored May 27, 2024
1 parent bbc8986 commit 485c1a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prober/tcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestTCPConnectionFails(t *testing.T) {
testCTX, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
if ProbeTCP(testCTX, ":0", config.Module{TCP: config.TCPProbe{}}, registry, log.NewNopLogger()) {
t.Fatalf("TCP module suceeded, expected failure.")
t.Fatalf("TCP module succeeded, expected failure.")
}
}

Expand Down

0 comments on commit 485c1a3

Please sign in to comment.