Skip to content

Commit 0643663

Browse files
authored
Disable test regarding model availability (#349)
Co-authored-by: Jonas Israel <[email protected]>
1 parent 0d54069 commit 0643663

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/ScenarioTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010
import lombok.SneakyThrows;
1111
import org.junit.jupiter.api.DisplayName;
1212
import org.junit.jupiter.api.Test;
13+
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
1314

1415
class ScenarioTest {
1516

1617
@Test
1718
@DisplayName("Declared OpenAI models must match AI Core's available OpenAI models")
1819
@SneakyThrows
20+
@DisabledIfSystemProperty(named = "aicore.landscape", matches = "canary")
1921
void openAiModelAvailability() {
2022

2123
// Gather AI Core's list of available OpenAI models

0 commit comments

Comments
 (0)