From: bangerth Date: Tue, 14 Dec 2010 06:11:30 +0000 (+0000) Subject: Multiply WALLTIME with the number of processors. Let's see if that gets the X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e6412a058784204b58fb3f6850bff34f860395c;p=dealii-svn.git Multiply WALLTIME with the number of processors. Let's see if that gets the number of spurious failures back down. git-svn-id: https://svn.dealii.org/trunk@22962 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/tests.h b/tests/tests.h index c77a5d6f7f..51ff270dd3 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -137,7 +138,7 @@ struct DeadlockKiller conv >> delay; if (conv) { - sleep (delay*4); + sleep (delay*multithread_info.n_cpus); std::cerr << "Time's up: Killing job because it overran its allowed walltime" << std::endl; std::abort ();