aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-03-12 09:59:42 +0200
committerIttay Stern <ittay.stern@att.com>2020-03-12 10:00:30 +0200
commit0ac5f5d60d67d6812cf84eb9e4ae5e8525d959ce (patch)
tree0f0054fcfe49355927e341ca9eee07fdd0c79726 /vid-app-common/src
parentf31dd5a7446ad4d692d2cdb6af4eba662e3925e3 (diff)
Extend timeout in test JobsBrokerService
This resolves instability in tests, e.g.: java.lang.RuntimeException: java.util.concurrent.TimeoutException at ...JobsBrokerServiceTest.waitForFutureOptionalJob() at ...JobsBrokerServiceTest.getAlotOfJobs() Redo commit 8aff973214f44a1f4cf95e5330cb9687be1bfa76 Issue-ID: VID-433 Change-Id: Ib366d7c7ffff7ee75a78ff5be5ccd5c970c783dd Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/services/JobsBrokerServiceTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/services/JobsBrokerServiceTest.java b/vid-app-common/src/test/java/org/onap/vid/services/JobsBrokerServiceTest.java
index 20c9d1443..db2021719 100644
--- a/vid-app-common/src/test/java/org/onap/vid/services/JobsBrokerServiceTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/services/JobsBrokerServiceTest.java
@@ -115,7 +115,7 @@ public class JobsBrokerServiceTest extends AbstractTestNGSpringContextTests {
private final Set<Long> threadsIds = new ConcurrentSkipListSet<>();
- private final long FEW = 500;
+ private final long FEW = 1000;
private final String JOBS_SHOULD_MATCH = "the jobs that added and those that pulled must be the same";
private final String JOBS_PEEKED_SHOULD_MATCH = "the jobs that added and those that peeked must be the same";