From 9a37ba54d1bf2bf93fa14dbc6a9d092bd1f5e70c Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Thu, 9 Sep 2021 04:55:26 -0400 Subject: [tests] skip time-sensitive test during CI testing --- tests/mod-scgi.t | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/mod-scgi.t') diff --git a/tests/mod-scgi.t b/tests/mod-scgi.t index f263f556..50b3a750 100755 --- a/tests/mod-scgi.t +++ b/tests/mod-scgi.t @@ -71,11 +71,23 @@ EOF ok($tf->handle_http($t) == 0, 'SCRIPT_NAME (wsgi)'); + # skip timing-sensitive test during CI testing, but run for user 'gps' + my $user = `id -un`; + chomp($user) if $user; + if (($user || "") eq "gps") { $t->{REQUEST} = ( <{REQUEST} = ( <{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, 'HTTP-Content' => 'test123' } ]; ok($tf->handle_http($t) == 0, 'killing scgi and wait for restart'); -- cgit v1.2.1