Java: Add comments to tests that spawn an HTTP/S server

This commit is contained in:
Chris Smowton
2024-05-14 17:48:35 +01:00
parent 1b1367eec0
commit cf134331a9
3 changed files with 3 additions and 0 deletions

View File

@@ -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")

View File

@@ -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__))

View 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: