From 296284fc37784330a603ce211e93acba975054ab Mon Sep 17 00:00:00 2001 From: Roman_Barannyk Date: Mon, 3 Jul 2023 14:44:48 +0300 Subject: [PATCH] Conflict resolving --- .../java/org/folio/rest/support/ApiTests.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/test/java/org/folio/rest/support/ApiTests.java b/src/test/java/org/folio/rest/support/ApiTests.java index a0dce8f6e..3608a3d0a 100644 --- a/src/test/java/org/folio/rest/support/ApiTests.java +++ b/src/test/java/org/folio/rest/support/ApiTests.java @@ -169,23 +169,4 @@ protected void stubWithEmptyTlrSettings() { .withConfigs(Collections.emptyList())) .encodePrettily()))); } - - public static T waitFor(Future future) { - return waitFor(future, 10); - } - - @SneakyThrows - public static T waitFor(Future future, int timeoutSeconds) { - return future.toCompletionStage() - .toCompletableFuture() - .get(timeoutSeconds, TimeUnit.SECONDS); - } - - protected static void truncateTable(String tableName) { - waitFor(pgClient.delete(tableName, new Criterion())); - } - - protected static String randomId() { - return UUID.randomUUID().toString(); - } }