From d7ac0be7d4426380dba698b15b348197fa8090ce Mon Sep 17 00:00:00 2001 From: Artem Sidorkin Date: Mon, 5 Apr 2021 13:23:13 +0300 Subject: [PATCH] #87: Build 151 failed. Fixed by incrementing timeout in snapshot tests. --- build.gradle | 2 +- .../tram/ordersandcustomers/snapshottests/SnapshotTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index fcc7bce8..dec78310 100644 --- a/build.gradle +++ b/build.gradle @@ -82,7 +82,7 @@ dockerCompose { mysqlbinloginfrastructuretextsearch { projectName = null useComposeFiles = ["docker-compose-snapshots-mysql-binlog.yml"] - startedServices = ["cdc-service"] + startedServices = ["cdc-service", "elasticsearch"] removeContainers = project.ext.removeContainers } diff --git a/snapshot-tests/src/test/java/io/eventuate/examples/tram/ordersandcustomers/snapshottests/SnapshotTest.java b/snapshot-tests/src/test/java/io/eventuate/examples/tram/ordersandcustomers/snapshottests/SnapshotTest.java index 539a07c4..80941ffc 100644 --- a/snapshot-tests/src/test/java/io/eventuate/examples/tram/ordersandcustomers/snapshottests/SnapshotTest.java +++ b/snapshot-tests/src/test/java/io/eventuate/examples/tram/ordersandcustomers/snapshottests/SnapshotTest.java @@ -101,7 +101,7 @@ private void execConsoleCommand(String... command) { processBuilder.inheritIO(); processBuilder .start() - .waitFor(1, TimeUnit.MINUTES); + .waitFor(5, TimeUnit.MINUTES); } catch (IOException | InterruptedException e) { throw new RuntimeException(e); }