use only sudo for running maven test server (remove nice)

This commit is contained in:
Óscar San José
2025-04-08 16:19:33 +02:00
parent e49fb839b8
commit 3b56f95480

View File

@@ -7,7 +7,7 @@ def test(codeql, java):
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
command = ["sudo", "nice", "-n", "10"] + command
command = ["sudo"] + command
repo_server_process = subprocess.Popen(
command, cwd="repo"
)