Skip to content

Commit e0c1709

Browse files
committed
Fix
1 parent 2d9b249 commit e0c1709

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • java/ql/integration-tests/java/buildless-dependency-different-repository

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import subprocess
22
import logging
3+
import time
34

45

56
def test(codeql, java):
67
# 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", "-b", "localhost"], cwd="repo")
8-
repo_server_process2 = subprocess.Popen(["python3", "-m", "http.server", "9429", "-b", "localhost"], cwd="repo2")
8+
repo_server_process = subprocess.Popen(["python3", "-m", "http.server", "9428", "-b", "127.0.0.1"], cwd="repo")
9+
repo_server_process2 = subprocess.Popen(["python3", "-m", "http.server", "9429", "-b", "127.0.0.1"], cwd="repo2")
910
try:
1011
codeql.database.create(
1112
extractor_option="buildless=true",

0 commit comments

Comments
 (0)