[sinttest] Set default timeout to 47 seconds

Using 60 seconds makes it sometimes easy to miss that the some action
was 1 minute after the timeout, because only a single digit in the
timestamp changes. Using a prime number as timeout makes this more
obvious.
This commit is contained in:
Florian Schmaus 2023-12-06 20:53:23 +01:00
parent 2337a446a5
commit 7fcc8a9bd3
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/**
*
* Copyright 2015-2021 Florian Schmaus
* Copyright 2015-2023 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -146,7 +146,7 @@ public final class Configuration {
if (builder.replyTimeout > 0) {
replyTimeout = builder.replyTimeout;
} else {
replyTimeout = 60000;
replyTimeout = 47000;
}
debugger = builder.debugger;
if (StringUtils.isNotEmpty(builder.adminAccountUsername, builder.adminAccountPassword)) {
@ -495,7 +495,7 @@ public final class Configuration {
builder.setService(properties.getProperty("service"));
builder.setServiceTlsPin(properties.getProperty("serviceTlsPin"));
builder.setSecurityMode(properties.getProperty("securityMode"));
builder.setReplyTimeout(properties.getProperty("replyTimeout", "60000"));
builder.setReplyTimeout(properties.getProperty("replyTimeout", "47000"));
String adminAccountUsername = properties.getProperty("adminAccountUsername");
String adminAccountPassword = properties.getProperty("adminAccountPassword");