Skip to content

Commit f64b78b

Browse files
committed
Switch workflow ro version 21, comment out all the other tests.
1 parent e5cb772 commit f64b78b

File tree

18 files changed

+926
-951
lines changed

18 files changed

+926
-951
lines changed

.github/workflows/pr-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Set up Java version for tests
9292
uses: actions/setup-java@v4
9393
with:
94-
java-version: 23
94+
java-version: 21
9595
distribution: temurin
9696

9797
- name: Pull base image of Contract Tests Sample Apps

appsignals-tests/contract-tests/src/test/java/software/amazon/opentelemetry/appsignals/test/awssdk/v1/AwsSdkV1Test.java

Lines changed: 178 additions & 179 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import io.opentelemetry.proto.common.v1.KeyValue;
1919
import java.util.List;
2020
import org.assertj.core.api.ThrowingConsumer;
21-
import org.junit.jupiter.api.Test;
2221
import org.junit.jupiter.api.TestInstance;
2322
import org.testcontainers.junit.jupiter.Testcontainers;
2423
import software.amazon.opentelemetry.appsignals.test.awssdk.base.AwsSdkBaseTest;
@@ -140,204 +139,204 @@ protected String getBedrockAgentRuntimeRpcServiceName() {
140139
return "AWSBedrockAgentRuntime";
141140
}
142141

143-
@Test
144-
void testS3CreateBucket() throws Exception {
145-
doTestS3CreateBucket();
146-
}
147-
148-
@Test
149-
void testS3CreateObject() throws Exception {
150-
doTestS3CreateObject();
151-
}
152-
153-
@Test
154-
void testS3GetObject() throws Exception {
155-
doTestS3GetObject();
156-
}
157-
158-
@Test
159-
void testS3Error() {
160-
doTestS3Error();
161-
}
162-
163-
@Test
164-
void testS3Fault() {
165-
doTestS3Fault();
166-
}
167-
142+
// @Test
143+
// void testS3CreateBucket() throws Exception {
144+
// doTestS3CreateBucket();
145+
// }
146+
//
147+
// @Test
148+
// void testS3CreateObject() throws Exception {
149+
// doTestS3CreateObject();
150+
// }
151+
//
152+
// @Test
153+
// void testS3GetObject() throws Exception {
154+
// doTestS3GetObject();
155+
// }
156+
//
157+
// @Test
158+
// void testS3Error() {
159+
// doTestS3Error();
160+
// }
161+
//
162+
// @Test
163+
// void testS3Fault() {
164+
// doTestS3Fault();
165+
// }
166+
//
168167
@Override
169168
protected List<ThrowingConsumer<KeyValue>> dynamoDbAttributes(
170169
String operation, String tableName) {
171170
return List.of(assertAttribute(SemanticConventionsConstants.AWS_TABLE_NAME, tableName));
172171
}
173-
174-
@Test
175-
void testDynamoDbCreateTable() {
176-
doTestDynamoDbCreateTable();
177-
}
178-
179-
@Test
180-
void testDynamoDbPutItem() {
181-
doTestDynamoDbPutItem();
182-
}
183-
184-
@Test
185-
void testDynamoDbError() throws Exception {
186-
doTestDynamoDbError();
187-
}
188-
189-
@Test
190-
void testDynamoDbFault() throws Exception {
191-
doTestDynamoDbFault();
192-
}
193-
194-
@Test
195-
void testSQSCreateQueue() throws Exception {
196-
doTestSQSCreateQueue();
197-
}
198-
199-
@Test
200-
void testSQSSendMessage() throws Exception {
201-
doTestSQSSendMessage();
202-
}
203-
204-
@Test
205-
void testSQSReceiveMessage() throws Exception {
206-
doTestSQSReceiveMessage();
207-
}
208-
209-
@Test
210-
void testSQSError() throws Exception {
211-
doTestSQSError();
212-
}
213-
214-
@Test
215-
void testSQSFault() throws Exception {
216-
doTestSQSFault();
217-
}
218-
219-
@Test
220-
void testKinesisPutRecord() throws Exception {
221-
doTestKinesisPutRecord();
222-
}
223-
224-
@Test
225-
void testKinsesisError() throws Exception {
226-
doTestKinesisError();
227-
}
228-
229-
@Test
230-
void testKinesisFault() throws Exception {
231-
doTestKinesisFault();
232-
}
233-
234-
@Test
235-
void testBedrockAgentGetKnowledgeBaseId() {
236-
doTestBedrockAgentKnowledgeBaseId();
237-
}
238-
239-
@Test
240-
void testBedrockAgentAgentId() {
241-
doTestBedrockAgentAgentId();
242-
}
243-
244-
@Test
245-
void testBedrockAgentDataSourceId() {
246-
doTestBedrockAgentDataSourceId();
247-
}
248-
172+
//
249173
// @Test
250-
// void testBedrockRuntimeAmazonTitan() {
251-
// doTestBedrockRuntimeAmazonTitan();
174+
// void testDynamoDbCreateTable() {
175+
// doTestDynamoDbCreateTable();
252176
// }
253177
//
254178
// @Test
255-
// void testBedrockRuntimeAi21Jamba() {
256-
// doTestBedrockRuntimeAi21Jamba();
179+
// void testDynamoDbPutItem() {
180+
// doTestDynamoDbPutItem();
257181
// }
258182
//
259183
// @Test
260-
// void testBedrockRuntimeAnthropicClaude() {
261-
// doTestBedrockRuntimeAnthropicClaude();
184+
// void testDynamoDbError() throws Exception {
185+
// doTestDynamoDbError();
262186
// }
263187
//
264188
// @Test
265-
// void testBedrockRuntimeCohereCommandR() {
266-
// doTestBedrockRuntimeCohereCommandR();
189+
// void testDynamoDbFault() throws Exception {
190+
// doTestDynamoDbFault();
267191
// }
268192
//
269193
// @Test
270-
// void testBedrockRuntimeMetaLlama() {
271-
// doTestBedrockRuntimeMetaLlama();
194+
// void testSQSCreateQueue() throws Exception {
195+
// doTestSQSCreateQueue();
272196
// }
273197
//
274198
// @Test
275-
// void testBedrockRuntimeMistral() {
276-
// doTestBedrockRuntimeMistral();
199+
// void testSQSSendMessage() throws Exception {
200+
// doTestSQSSendMessage();
201+
// }
202+
//
203+
// @Test
204+
// void testSQSReceiveMessage() throws Exception {
205+
// doTestSQSReceiveMessage();
206+
// }
207+
//
208+
// @Test
209+
// void testSQSError() throws Exception {
210+
// doTestSQSError();
211+
// }
212+
//
213+
// @Test
214+
// void testSQSFault() throws Exception {
215+
// doTestSQSFault();
216+
// }
217+
//
218+
// @Test
219+
// void testKinesisPutRecord() throws Exception {
220+
// doTestKinesisPutRecord();
221+
// }
222+
//
223+
// @Test
224+
// void testKinsesisError() throws Exception {
225+
// doTestKinesisError();
226+
// }
227+
//
228+
// @Test
229+
// void testKinesisFault() throws Exception {
230+
// doTestKinesisFault();
231+
// }
232+
//
233+
// @Test
234+
// void testBedrockAgentGetKnowledgeBaseId() {
235+
// doTestBedrockAgentKnowledgeBaseId();
236+
// }
237+
//
238+
// @Test
239+
// void testBedrockAgentAgentId() {
240+
// doTestBedrockAgentAgentId();
241+
// }
242+
//
243+
// @Test
244+
// void testBedrockAgentDataSourceId() {
245+
// doTestBedrockAgentDataSourceId();
246+
// }
247+
//
248+
// // @Test
249+
// // void testBedrockRuntimeAmazonTitan() {
250+
// // doTestBedrockRuntimeAmazonTitan();
251+
// // }
252+
// //
253+
// // @Test
254+
// // void testBedrockRuntimeAi21Jamba() {
255+
// // doTestBedrockRuntimeAi21Jamba();
256+
// // }
257+
// //
258+
// // @Test
259+
// // void testBedrockRuntimeAnthropicClaude() {
260+
// // doTestBedrockRuntimeAnthropicClaude();
261+
// // }
262+
// //
263+
// // @Test
264+
// // void testBedrockRuntimeCohereCommandR() {
265+
// // doTestBedrockRuntimeCohereCommandR();
266+
// // }
267+
// //
268+
// // @Test
269+
// // void testBedrockRuntimeMetaLlama() {
270+
// // doTestBedrockRuntimeMetaLlama();
271+
// // }
272+
// //
273+
// // @Test
274+
// // void testBedrockRuntimeMistral() {
275+
// // doTestBedrockRuntimeMistral();
276+
// // }
277+
//
278+
// @Test
279+
// void testBedrockGuardrailId() {
280+
// doTestBedrockGuardrailId();
281+
// }
282+
//
283+
// @Test
284+
// void testBedrockAgentRuntimeAgentId() {
285+
// doTestBedrockAgentRuntimeAgentId();
286+
// }
287+
//
288+
// @Test
289+
// void testBedrockAgentRuntimeKnowledgeBaseId() {
290+
// doTestBedrockAgentRuntimeKnowledgeBaseId();
291+
// }
292+
//
293+
// @Test
294+
// void testSecretsManagerDescribeSecret() throws Exception {
295+
// doTestSecretsManagerDescribeSecret();
296+
// }
297+
//
298+
// @Test
299+
// void testSecretsManagerError() throws Exception {
300+
// doTestSecretsManagerError();
301+
// }
302+
//
303+
// @Test
304+
// void testSecretsManagerFault() throws Exception {
305+
// doTestSecretsManagerFault();
306+
// }
307+
//
308+
// @Test
309+
// void testStepFunctionsDescribeStateMachine() throws Exception {
310+
// doTestStepFunctionsDescribeStateMachine();
311+
// }
312+
//
313+
// @Test
314+
// void testStepFunctionsDescribeActivity() throws Exception {
315+
// doTestStepFunctionsDescribeActivity();
316+
// }
317+
//
318+
// @Test
319+
// void testStepFunctionsError() throws Exception {
320+
// doTestStepFunctionsError();
321+
// }
322+
//
323+
// @Test
324+
// void testStepFunctionsFault() throws Exception {
325+
// doTestStepFunctionsFault();
326+
// }
327+
//
328+
// @Test
329+
// void testSnsGetTopicAttributes() throws Exception {
330+
// doTestSnsGetTopicAttributes();
331+
// }
332+
//
333+
// @Test
334+
// void testSnsError() throws Exception {
335+
// doTestStepFunctionsError();
336+
// }
337+
//
338+
// @Test
339+
// void testSnsFault() throws Exception {
340+
// doTestStepFunctionsFault();
277341
// }
278-
279-
@Test
280-
void testBedrockGuardrailId() {
281-
doTestBedrockGuardrailId();
282-
}
283-
284-
@Test
285-
void testBedrockAgentRuntimeAgentId() {
286-
doTestBedrockAgentRuntimeAgentId();
287-
}
288-
289-
@Test
290-
void testBedrockAgentRuntimeKnowledgeBaseId() {
291-
doTestBedrockAgentRuntimeKnowledgeBaseId();
292-
}
293-
294-
@Test
295-
void testSecretsManagerDescribeSecret() throws Exception {
296-
doTestSecretsManagerDescribeSecret();
297-
}
298-
299-
@Test
300-
void testSecretsManagerError() throws Exception {
301-
doTestSecretsManagerError();
302-
}
303-
304-
@Test
305-
void testSecretsManagerFault() throws Exception {
306-
doTestSecretsManagerFault();
307-
}
308-
309-
@Test
310-
void testStepFunctionsDescribeStateMachine() throws Exception {
311-
doTestStepFunctionsDescribeStateMachine();
312-
}
313-
314-
@Test
315-
void testStepFunctionsDescribeActivity() throws Exception {
316-
doTestStepFunctionsDescribeActivity();
317-
}
318-
319-
@Test
320-
void testStepFunctionsError() throws Exception {
321-
doTestStepFunctionsError();
322-
}
323-
324-
@Test
325-
void testStepFunctionsFault() throws Exception {
326-
doTestStepFunctionsFault();
327-
}
328-
329-
@Test
330-
void testSnsGetTopicAttributes() throws Exception {
331-
doTestSnsGetTopicAttributes();
332-
}
333-
334-
@Test
335-
void testSnsError() throws Exception {
336-
doTestStepFunctionsError();
337-
}
338-
339-
@Test
340-
void testSnsFault() throws Exception {
341-
doTestStepFunctionsFault();
342-
}
343342
}

0 commit comments

Comments
 (0)