mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge pull request #16488 from smowton/smowton/admin/document-test-servers
Java: Add comments to tests that spawn an HTTP/S server
This commit is contained in:
@@ -4,6 +4,7 @@ from create_database_utils import *
|
||||
from buildless_test_utils import *
|
||||
import subprocess
|
||||
|
||||
# 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")
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ from diagnostics_test_utils import *
|
||||
import subprocess
|
||||
import os.path
|
||||
|
||||
# This serves the "repo" directory on https://locahost:4443
|
||||
repo_server_process = subprocess.Popen(["python3", "../server.py"], cwd = "repo")
|
||||
|
||||
mypath = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
@@ -4,6 +4,7 @@ from create_database_utils import *
|
||||
from buildless_test_utils import *
|
||||
import subprocess
|
||||
|
||||
# This serves the "repo" directory on http://localhost:9427
|
||||
repo_server_process = subprocess.Popen(["python3", "-m", "http.server", "9427"], cwd = "repo")
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user