Skip to content

Commit e699349

Browse files
committed
testsuite: reduce parallelism in t4000-issues-test-driver.t
Problem: The issues tests in t4000-issues-test-driver.t are run as jobs in a test instance of size=2, but the instance inherits the total number of cores from the system, which means up to 2*ncores issues tests could be run at the same time. On some systems, this causes failures in the tests due to overloading the system. Switch to the "job" personality of test_under_flux, which will configure the test instance with only 2 fake cores per rank, keeping the parallelism of the tests to 4, which is probably a safe number. Fixes #6856
1 parent 1717075 commit e699349

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

t/t4000-issues-test-driver.t

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ if test_have_prereq ASAN; then
1010
test_done
1111
fi
1212

13+
# Note: use test_under_flux "job" personality so that only 2 cores per fake
14+
# node are configured in the test instance. This ensures a maximum of 4
15+
# issues test scripts (invoked as jobs below) run simultaneously, instead
16+
# of 1 per real core, which could cause test failures on overloaded systems.
17+
#
1318
SIZE=2
14-
test_under_flux ${SIZE}
19+
test_under_flux ${SIZE} job
1520
echo "# $0: flux session size will be ${SIZE}"
1621

1722
if test -z "$T4000_ISSUES_GLOB"; then

0 commit comments

Comments
 (0)