You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2020/01/13 09:13:24 UTC
svn commit: r1872705 - /httpd/test/framework/trunk/t/apache/expr_string.t
Author: jorton
Date: Mon Jan 13 09:13:24 2020
New Revision: 1872705
URL: http://svn.apache.org/viewvc?rev=1872705&view=rev
Log:
Try sleeping before reading the error_log to avoid the failures.
Modified:
httpd/test/framework/trunk/t/apache/expr_string.t
Modified: httpd/test/framework/trunk/t/apache/expr_string.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/apache/expr_string.t?rev=1872705&r1=1872704&r2=1872705&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/apache/expr_string.t (original)
+++ httpd/test/framework/trunk/t/apache/expr_string.t Mon Jan 13 09:13:24 2020
@@ -7,6 +7,8 @@ use Apache::TestUtil qw(t_write_file t_s
use File::Spec;
+use Time::HiRes qw(usleep);
+
# test ap_expr
Apache::TestRequest::user_agent(keep_alive => 1);
@@ -62,6 +64,8 @@ foreach my $t (@test_cases) {
'SomeHeader' => 'SomeValue',
'User-Agent' => 'SomeAgent',
'Referer' => 'SomeReferer');
+ ### Sleep here, attempt to avoid intermittent failures.
+ usleep(250000);
my @loglines = t_finish_error_log_watch();
my @evalerrors = grep {/(?:internal evaluation error|flex scanner jammed)/i