Skip to content

Commit 869c8a5

Browse files
committed
Update
1 parent e988575 commit 869c8a5

File tree

1 file changed

+2
-1
lines changed
  • java/ql/integration-tests/java/buildless-snapshot-repository

1 file changed

+2
-1
lines changed

java/ql/integration-tests/java/buildless-snapshot-repository/test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import subprocess
22
import sys
3-
3+
import time
44

55
def test(codeql, java):
66
# This serves the "repo" directory on http://localhost:9427
77
repo_server_process = subprocess.Popen(
88
[sys.executable, "-m", "http.server", "9427"], cwd="repo"
99
)
1010
try:
11+
time.sleep(30)
1112
subprocess.call(["curl", "-m", "30", "http://localhost:9427/snapshots"])
1213
subprocess.call(["curl", "-m", "30", "http://localhost:9427/snapshots/com/github/my/snapshot/test/snapshottest/1.0-SNAPSHOT/maven-metadata.xml"])
1314
codeql.database.create(

0 commit comments

Comments
 (0)