[Update] set DEFAULT_TIMEOUT to 1000

This commit is contained in:
@hangga 2023-09-27 09:20:07 +07:00
parent 78d8f62ef7
commit e9536ff0c4
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
public class CompletableFutureTimeoutUnitTest {
private static WireMockServer wireMockServer;
private static ScheduledExecutorService executorService;
private static final int DEFAULT_TIMEOUT = 500; //0.5 seconds
private static final int DEFAULT_TIMEOUT = 1000; //1 seconds
private static final int TIMEOUT_STATUS_CODE = 408; //0.5 seconds
@BeforeAll