Skip to content

Commit 634ac20

Browse files
committed
Change env var OLLAMA_SKIP_CONTAINER to OLLAMA_WITH_REUSE in BaseOllamaIT
1 parent 11d8591 commit 634ac20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
@@ -42,7 +42,7 @@ public abstract class BaseOllamaIT {
4242
// Environment variable to control whether to create a new container or use existing
4343
// Ollama instance
4444
private static final boolean SKIP_CONTAINER_CREATION = Boolean
45-
.parseBoolean(System.getenv().getOrDefault("OLLAMA_SKIP_CONTAINER", "false"));
45+
.parseBoolean(System.getenv().getOrDefault("OLLAMA_WITH_REUSE", "false"));
4646

4747
private static OllamaContainer ollamaContainer;
4848

0 commit comments

Comments
 (0)