Skip to content

Commit e08a9fc

Browse files
authored
chore: disable tests that fail due to new orch spec (#591)
1 parent c0d8aad commit e08a9fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import lombok.extern.slf4j.Slf4j;
3939
import lombok.val;
4040
import org.junit.jupiter.api.BeforeEach;
41+
import org.junit.jupiter.api.Disabled;
4142
import org.junit.jupiter.api.Test;
4243
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
4344

@@ -379,13 +380,15 @@ void testResponseFormatText() {
379380
}
380381

381382
@Test
383+
@Disabled("This behaviour is not released to canary yet.")
382384
void testTemplateFromPromptRegistryById() {
383385
val result = service.templateFromPromptRegistryById("Cloud ERP systems").getOriginalResponse();
384386
val choices = (result.getFinalResult()).getChoices();
385387
assertThat(choices.get(0).getMessage().getContent()).isNotEmpty();
386388
}
387389

388390
@Test
391+
@Disabled("This behaviour is not released to canary yet.")
389392
void testTemplateFromPromptRegistryByScenario() {
390393
val result =
391394
service.templateFromPromptRegistryByScenario("Cloud ERP systems").getOriginalResponse();
@@ -444,6 +447,7 @@ void testStreamingErrorHandlingMasking() {
444447
}
445448

446449
@Test
450+
@Disabled("This behaviour is not released to canary yet.")
447451
void testTranslation() {
448452
val result = service.translation();
449453
val content = result.getContent();

0 commit comments

Comments
 (0)