Skip to content

Commit 1eb4a1a

Browse files
oscarsjredsun82
andauthored
Update java/ql/integration-tests/java/buildless-snapshot-repository/test.py
Co-authored-by: Paolo Tranquilli <[email protected]>
1 parent 3b56f95 commit 1eb4a1a

File tree

1 file changed

+2
-1
lines changed
  • java/ql/integration-tests/java/buildless-snapshot-repository

1 file changed

+2
-1
lines changed

java/ql/integration-tests/java/buildless-snapshot-repository/test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ def test(codeql, java):
66
# This serves the "repo" directory on http://localhost:9427
77
command = ["python3", "-m", "http.server", "9427", "-b", "localhost"]
88
if runs_on.github_actions and runs_on.posix:
9-
# On GitHub Actions, we try to run the server with higher priority
9+
# On GitHub Actions, we saw the server timing out while running in parallel with other tests
10+
# we work around that by running it with higher permissions
1011
command = ["sudo"] + command
1112
repo_server_process = subprocess.Popen(
1213
command, cwd="repo"

0 commit comments

Comments
 (0)