Skip to content

Commit c809cce

Browse files
authored
Merge pull request #20588 from github/idrissrio/macos-26
Java: Fix buildless test HTTP server binding on macOS26
2 parents e2a8d58 + 5c6d187 commit c809cce

File tree

1 file changed

+2
-2
lines changed
  • java/ql/integration-tests/java/buildless-dependency-different-repository

1 file changed

+2
-2
lines changed

java/ql/integration-tests/java/buildless-dependency-different-repository/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
def test(codeql, java):
66
# Each of these serves the "repo" and "repo2" directories on http://localhost:924[89]
7-
repo_server_process = subprocess.Popen(["python3", "-m", "http.server", "9428"], cwd="repo")
8-
repo_server_process2 = subprocess.Popen(["python3", "-m", "http.server", "9429"], cwd="repo2")
7+
repo_server_process = subprocess.Popen(["python3", "-m", "http.server", "9428", "-b", "localhost"], cwd="repo")
8+
repo_server_process2 = subprocess.Popen(["python3", "-m", "http.server", "9429", "-b", "localhost"], cwd="repo2")
99
try:
1010
codeql.database.create(
1111
extractor_option="buildless=true",

0 commit comments

Comments
 (0)