Skip to content

Commit d033f37

Browse files
authored
ci(iast): skip test_gevent_sensitive_greenlet test for python 3.8 (#14784)
## Description Skip flaky test on python 3.8 ## Testing <!-- Describe your testing strategy or note what tests are included --> ## Risks <!-- Note any risks associated with this change, or "None" if no risks --> ## Additional Notes <!-- Any other information that would be helpful for reviewers -->
1 parent d99dfd9 commit d033f37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/appsec/integrations/flask_tests/test_iast_flask_testagent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import concurrent.futures
22
import json
3+
import sys
34

45
import pytest
56

@@ -519,6 +520,7 @@ def test_gevent_sensitive_socketpair(server, config, iast_enabled, iast_test_tok
519520
assert response.text == "OK:True"
520521

521522

523+
@pytest.mark.skipif(sys.version_info < (3, 9, 0), reason="Test not compatible with Python 3.8")
522524
@pytest.mark.parametrize("server, config", _GEVENT_SERVERS_SCENARIOS)
523525
@pytest.mark.parametrize("iast_enabled", ("true", "false"))
524526
def test_gevent_sensitive_greenlet(server, config, iast_enabled, iast_test_token):

0 commit comments

Comments
 (0)