You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2021/09/24 15:07:07 UTC
svn commit: r1893600 - /httpd/test/framework/trunk/t/modules/heartbeat.t
Author: ylavic
Date: Fri Sep 24 15:07:06 2021
New Revision: 1893600
URL: http://svn.apache.org/viewvc?rev=1893600&view=rev
Log:
heartbeat.t: no really relevant on non-threaded MPM, skip with prefork.
Modified:
httpd/test/framework/trunk/t/modules/heartbeat.t
Modified: httpd/test/framework/trunk/t/modules/heartbeat.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/heartbeat.t?rev=1893600&r1=1893599&r2=1893600&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/heartbeat.t (original)
+++ httpd/test/framework/trunk/t/modules/heartbeat.t Fri Sep 24 15:07:06 2021
@@ -12,7 +12,7 @@ my $nb_seconds = 5;
# Because of timing, we may see less than what could be expected
my $nb_expected = $nb_seconds - 2;
-plan tests => 1, need_module('mod_heartbeat', 'mod_heartmonitor');
+plan tests => 1, sub { need_module('mod_heartbeat', 'mod_heartmonitor') && !need_apache_mpm('prefork') };
# Give some time to the heart to beat a few times
t_start_error_log_watch();