mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Java: Fix buildless test HTTP server binding on macOS26
This commit is contained in:
@@ -4,8 +4,8 @@ import logging
|
||||
|
||||
def test(codeql, java):
|
||||
# Each of these serves the "repo" and "repo2" directories on http://localhost:924[89]
|
||||
repo_server_process = subprocess.Popen(["python3", "-m", "http.server", "9428"], cwd="repo")
|
||||
repo_server_process2 = subprocess.Popen(["python3", "-m", "http.server", "9429"], cwd="repo2")
|
||||
repo_server_process = subprocess.Popen(["python3", "-m", "http.server", "9428", "-b", "localhost"], cwd="repo")
|
||||
repo_server_process2 = subprocess.Popen(["python3", "-m", "http.server", "9429", "-b", "localhost"], cwd="repo2")
|
||||
try:
|
||||
codeql.database.create(
|
||||
extractor_option="buildless=true",
|
||||
|
||||
Reference in New Issue
Block a user