Skip to content

Commit

Permalink
tweak assertRetry to lower the initial waiting period, pass info flag…
Browse files Browse the repository at this point in the history
… to gradle integrationTest in CI to get some sort of output
  • Loading branch information
austin-denoble committed Feb 9, 2024
1 parent 6ad910f commit f4bf91d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/integration/java/io/pinecone/helpers/AssertRetry.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f4bf91d

Please sign in to comment.