mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Update java/ql/integration-tests/java/buildless-snapshot-repository/test.py
Co-authored-by: Paolo Tranquilli <redsun82@github.com>
This commit is contained in:
@@ -6,7 +6,8 @@ def test(codeql, java):
|
||||
# This serves the "repo" directory on http://localhost:9427
|
||||
command = ["python3", "-m", "http.server", "9427", "-b", "localhost"]
|
||||
if runs_on.github_actions and runs_on.posix:
|
||||
# On GitHub Actions, we try to run the server with higher priority
|
||||
# On GitHub Actions, we saw the server timing out while running in parallel with other tests
|
||||
# we work around that by running it with higher permissions
|
||||
command = ["sudo"] + command
|
||||
repo_server_process = subprocess.Popen(
|
||||
command, cwd="repo"
|
||||
|
||||
Reference in New Issue
Block a user