Skip to content

Commit

Permalink
isWindows
Browse files Browse the repository at this point in the history
  • Loading branch information
mPokornyETM committed Nov 29, 2023
1 parent 649a5f8 commit dcb7832
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;

import hudson.Functions;
import java.util.Timer;
import java.util.TimerTask;
import java.util.logging.Logger;
Expand All @@ -21,8 +22,8 @@ public class ConcurrentModificationExceptionTest {
@Test
public void parallelTasksTest() throws Exception {

final int agentsCount = 10;
final int extraAgentsCount = 20;
final int agentsCount = Functions.isWindows() ? 5 : 10;
final int extraAgentsCount = Functions.isWindows() ? 5 : 20;
final int resourcesCount = 100;
final int extraResourcesCount = 100;

Expand Down

0 comments on commit dcb7832

Please sign in to comment.