From f4bf91d64166fab87532025fdca92ab74d746a67 Mon Sep 17 00:00:00 2001 From: Austin DeNoble Date: Fri, 9 Feb 2024 11:18:16 -0500 Subject: [PATCH] tweak assertRetry to lower the initial waiting period, pass info flag to gradle integrationTest in CI to get some sort of output --- gradle/wrapper/gradle-wrapper.properties | 2 +- src/integration/java/io/pinecone/helpers/AssertRetry.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index da9702f9..8049c684 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/integration/java/io/pinecone/helpers/AssertRetry.java b/src/integration/java/io/pinecone/helpers/AssertRetry.java index 69b913ab..1799bff7 100644 --- a/src/integration/java/io/pinecone/helpers/AssertRetry.java +++ b/src/integration/java/io/pinecone/helpers/AssertRetry.java @@ -8,7 +8,7 @@ public class AssertRetry { private static final int maxRetry = 5; - private static int delay = 3000; + private static int delay = 1500; public static void assertWithRetry(AssertionRunnable assertionRunnable) throws InterruptedException, PineconeException { assertWithRetry(assertionRunnable, 2);