From 177efc97b49823ad747a87766ea1e1d0c2b71ef6 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Thu, 11 Apr 2024 09:38:09 +0300 Subject: [PATCH] Disable pinecone tests These are pretty unstable and as a result are making our nightly builds useless Relates to: #440 --- .../pinecone/deployment/PineconeEmbeddingStoreTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pinecone/deployment/src/test/java/io/quarkiverse/langchain4j/pinecone/deployment/PineconeEmbeddingStoreTest.java b/pinecone/deployment/src/test/java/io/quarkiverse/langchain4j/pinecone/deployment/PineconeEmbeddingStoreTest.java index 2819f3ee4..6e4b5e4a6 100644 --- a/pinecone/deployment/src/test/java/io/quarkiverse/langchain4j/pinecone/deployment/PineconeEmbeddingStoreTest.java +++ b/pinecone/deployment/src/test/java/io/quarkiverse/langchain4j/pinecone/deployment/PineconeEmbeddingStoreTest.java @@ -9,7 +9,7 @@ import org.jboss.shrinkwrap.api.asset.StringAsset; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.extension.RegisterExtension; import dev.langchain4j.data.segment.TextSegment; @@ -44,7 +44,8 @@ * intermittent failures, it may mean that the delay isn't long enough... * */ -@EnabledIfEnvironmentVariable(named = "PINECONE_API_KEY", matches = ".+") +//@EnabledIfEnvironmentVariable(named = "PINECONE_API_KEY", matches = ".+") +@Disabled("This is pretty unstable and making our nightly builds useless") public class PineconeEmbeddingStoreTest extends EmbeddingStoreIT { @RegisterExtension