summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/t/check_udp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_udp.t b/plugins/t/check_udp.t
index ac1a893c..c22aeaf4 100644
--- a/plugins/t/check_udp.t
+++ b/plugins/t/check_udp.t
@@ -48,7 +48,7 @@ SKIP: {
48 my $duration = time - $start; 48 my $duration = time - $start;
49 cmp_ok( $res->return_code, '==', '2', "Hung waiting for response"); 49 cmp_ok( $res->return_code, '==', '2', "Hung waiting for response");
50 like ( $res->output, '/Socket timeout after 5 seconds/', "Timeout message"); 50 like ( $res->output, '/Socket timeout after 5 seconds/', "Timeout message");
51 cmp_ok( $duration, '==', 5, "Timeout exactly right"); 51 like ( $duration, '/^[56]$/', "Timeout after 5 (possibly 6) seconds");
52 my $read_nc = <NC>; 52 my $read_nc = <NC>;
53 close NC; 53 close NC;
54 cmp_ok( $read_nc, 'eq', "foofoo", "Data received correctly" ); 54 cmp_ok( $read_nc, 'eq', "foofoo", "Data received correctly" );