Skip to content

Commit 7fd7697

Browse files
committed
add sleep
1 parent dbde67a commit 7fd7697

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/nox/java_client/prepare.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from pathlib import Path
33
import requests
44
from requests.auth import HTTPBasicAuth
5+
import time
56

67

78
def main():
@@ -66,6 +67,7 @@ def create_user():
6667
headers={"Content-Type": "application/json"},
6768
json={"sql": "GRANT ROLE test_jdbc TO USER databend"},
6869
).raise_for_status()
70+
time.sleep(16)
6971
requests.post(
7072
"http://localhost:8001/v1/query/",
7173
auth=HTTPBasicAuth("root", ""),

0 commit comments

Comments
 (0)