Skip to content

Commit

Permalink
ci(iast): migrate appsec_iast_memcheck and appsec_iast to gitlab/hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
avara1986 committed Feb 19, 2025
1 parent b3c208b commit e9fbc88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/appsec/iast/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def configuration_endpoint():
]
try:
process = subprocess.Popen(cmd, cwd=current_dir)
time.sleep(0.2)
time.sleep(0.9)

url = f"http://localhost:{CONFIG_SERVER_PORT}/"
conn = get_connection(url)
Expand All @@ -184,7 +184,7 @@ def configuration_endpoint():
response = conn.getresponse()
result = Response.from_http_response(response)
status = result.status
except (ConnectionError, PermissionError):
except (OSError, ConnectionError, PermissionError):
pass
retries += 1

Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/iast/test_env_var.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _run_python_file(*args, **kwargs):
cmd += ["python", "-m", "ddtrace.commands.ddtrace_run"]

cmd += [
"python",
"python",
os.path.join(current_dir, "fixtures", "integration", kwargs.get("filename", "main.py")),
] + list(args)
env = _build_env(kwargs.get("env"))
Expand Down

0 comments on commit e9fbc88

Please sign in to comment.