Skip to content

Commit

Permalink
Set max-parallel to 1 for integration tests, remove extra sleep from …
Browse files Browse the repository at this point in the history
…waitUntilIndexReady
  • Loading branch information
austin-denoble committed Feb 14, 2024
1 parent 8dafe1f commit a90eb2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
3 changes: 1 addition & 2 deletions src/integration/java/io/pinecone/helpers/IndexManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ public static IndexModel waitUntilIndexIsReady(PineconeControlPlaneClient contro
break;
}
if (index.getStatus().getReady()) {
Thread.sleep(3000);
System.out.println("Index " + indexName + " is ready after " + waitedTimeMs + 3000 + "ms");
System.out.println("Index " + indexName + " is ready after " + waitedTimeMs + "ms");
break;
}
Thread.sleep(intervalMs);
Expand Down

0 comments on commit a90eb2a

Please sign in to comment.