Increase fudge factor
This commit is contained in:
parent
59818ceca9
commit
836976d732
|
|
@ -77,7 +77,7 @@ class ParallelApplicationEventsIntegrationTests {
|
||||||
assertThat(testNames).hasSize(10);
|
assertThat(testNames).hasSize(10);
|
||||||
|
|
||||||
// Skip the following assertion entirely if the thread count is too low.
|
// Skip the following assertion entirely if the thread count is too low.
|
||||||
if (ManagementFactory.getThreadMXBean().getThreadCount() >= 2) {
|
if (ManagementFactory.getThreadMXBean().getThreadCount() >= 4) {
|
||||||
// There are probably 10 different thread names on a developer's machine,
|
// There are probably 10 different thread names on a developer's machine,
|
||||||
// but we really just want to assert that at least two different threads
|
// but we really just want to assert that at least two different threads
|
||||||
// were used, since the CI server often has fewer threads available.
|
// were used, since the CI server often has fewer threads available.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue