From c39f180ac3c2d61d860cc1a6d2b6878965fcab54 Mon Sep 17 00:00:00 2001 From: Colton Myers Date: Wed, 4 Oct 2023 17:30:14 -0600 Subject: [PATCH] Skip aws lambda tests on windows --- tests/contrib/serverless/aws_tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/contrib/serverless/aws_tests.py b/tests/contrib/serverless/aws_tests.py index 9f4a7253f..25a52d254 100644 --- a/tests/contrib/serverless/aws_tests.py +++ b/tests/contrib/serverless/aws_tests.py @@ -32,12 +32,15 @@ import json import os +import platform import time from elasticapm import capture_span from elasticapm.conf import constants from elasticapm.contrib.serverless.aws import capture_serverless, get_data_from_request, get_data_from_response +pytestmark = pytest.mark.skipif(platform.system() == "Windows", reason="AWS Lambda does not support Windows") + @pytest.fixture def event_api():