Skip to content

Commit fccfcd9

Browse files
committed
fix tests
1 parent 2eaa5c6 commit fccfcd9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dd-java-agent/instrumentation/aws-java-sdk-1.11.0/src/test/groovy/AWS1ClientTest.groovy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,10 @@ abstract class AWS1ClientTest extends VersionedNamingTestBase {
405405
def "#service #operation sets peer.service in serverless environment"() {
406406
setup:
407407

408+
if (version() == 0) {
409+
return
410+
}
411+
408412
// Set the AWS Lambda function name environment variable
409413
injectEnvConfig("AWS_LAMBDA_FUNCTION_NAME", "my-test-lambda-function", false)
410414

0 commit comments

Comments
 (0)