Skip to content

Commit ff41a1a

Browse files
committed
Disable OracleVectorStore and Ollama IT tests
1 parent 0d2d4b7 commit ff41a1a

File tree

3 files changed

+4
-2
lines changed
  • models/spring-ai-ollama/src/test/java/org/springframework/ai/ollama
  • spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/ollama
  • vector-stores/spring-ai-oracle-store/src/test/java/org/springframework/ai/vectorstore

3 files changed

+4
-2
lines changed

models/spring-ai-ollama/src/test/java/org/springframework/ai/ollama/BaseOllamaIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class BaseOllamaIT {
5151
* to the file ".testcontainers.properties" located in your home directory
5252
*/
5353
public static boolean isDisabled() {
54-
return false;
54+
return true;
5555
}
5656

5757
public static OllamaApi buildOllamaApi() {

spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/ollama/BaseOllamaIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static void tearDown() {
6060
* to the file ".testcontainers.properties" located in your home directory
6161
*/
6262
public static boolean isDisabled() {
63-
return false;
63+
return true;
6464
}
6565

6666
public static String buildConnectionWithModel(String model) {

vector-stores/spring-ai-oracle-store/src/test/java/org/springframework/ai/vectorstore/OracleVectorStoreIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
import oracle.jdbc.pool.OracleDataSource;
3030
import org.junit.Assert;
31+
import org.junit.jupiter.api.Disabled;
3132
import org.junit.jupiter.params.ParameterizedTest;
3233
import org.junit.jupiter.params.provider.CsvSource;
3334
import org.junit.jupiter.params.provider.ValueSource;
@@ -57,6 +58,7 @@
5758
import static org.assertj.core.api.Assertions.assertThat;
5859

5960
@Testcontainers
61+
@Disabled("Oracle image is 2GB")
6062
public class OracleVectorStoreIT {
6163

6264
@Container

0 commit comments

Comments
 (0)