diff --git a/hatch.toml b/hatch.toml index 7269db2d49..b30d412861 100644 --- a/hatch.toml +++ b/hatch.toml @@ -444,8 +444,8 @@ fastapi = ["~=0.114.2"] ## ASM Appsec Aggregated Leak Testing -[envs.appsec_aggregated_leak_testing] -template = "appsec_aggregated_leak_testing" +[envs.iast_aggregated_leak_testing] +template = "iast_aggregated_leak_testing" dependencies = [ "pytest", "pytest-cov", @@ -457,19 +457,20 @@ dependencies = [ "pydantic-settings", ] -[envs.appsec_aggregated_leak_testing.env-vars] +[envs.iast_aggregated_leak_testing.env-vars] CMAKE_BUILD_PARALLEL_LEVEL = "12" DD_IAST_ENABLED = "true" +_DD_IAST_PATCH_MODULES = "scripts.iast" -[envs.appsec_aggregated_leak_testing.scripts] +[envs.iast_aggregated_leak_testing.scripts] test = [ "uname -a", "pip freeze", "python -m pytest tests/appsec/iast_aggregated_memcheck/test_aggregated_memleaks.py", ] -[[envs.appsec_aggregated_leak_testing.matrix]] -python = ["3.10", "3.11", "3.12", "3.13"] +[[envs.iast_aggregated_leak_testing.matrix]] +python = ["3.10", "3.11", "3.12"] diff --git a/tests/appsec/suitespec.yml b/tests/appsec/suitespec.yml index f075ba2da4..d40ba785f6 100644 --- a/tests/appsec/suitespec.yml +++ b/tests/appsec/suitespec.yml @@ -73,12 +73,18 @@ suites: - '@remoteconfig' retry: 2 runner: hatch + iast_aggregated_leak_testing: + parallelism: 3 + paths: + - '@appsec_iast' + - tests/appsec/iast_aggregated_memcheck/* + runner: hatch + timeout: 50m appsec_iast_packages: parallelism: 4 paths: - '@appsec_iast' - tests/appsec/iast_packages/* - retry: 2 runner: hatch timeout: 50m appsec_integrations_pygoat: