File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,24 @@ def create_user():
6666 headers = {"Content-Type" : "application/json" },
6767 json = {"sql" : "GRANT ROLE test_jdbc TO USER databend" },
6868 ).raise_for_status ()
69+ requests .post (
70+ "http://localhost:8001/v1/query/" ,
71+ auth = HTTPBasicAuth ("root" , "" ),
72+ headers = {"Content-Type" : "application/json" },
73+ json = {"sql" : "SHOW GRANTS FOR USER databend" },
74+ ).raise_for_status ()
75+ requests .post (
76+ "http://localhost:8002/v1/query/" ,
77+ auth = HTTPBasicAuth ("root" , "" ),
78+ headers = {"Content-Type" : "application/json" },
79+ json = {"sql" : "SHOW GRANTS FOR USER databend" },
80+ ).raise_for_status ()
81+ requests .post (
82+ "http://localhost:8003/v1/query/" ,
83+ auth = HTTPBasicAuth ("root" , "" ),
84+ headers = {"Content-Type" : "application/json" },
85+ json = {"sql" : "SHOW GRANTS FOR USER databend" },
86+ ).raise_for_status ()
6987
7088def download_testng ():
7189 urls = [
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def python_client(session, driver_version):
2222 session .run ("behave" , "tests/cursor" , env = env )
2323
2424
25- JDBC_DRIVER = ["0.4.1 " , "main" ]
25+ JDBC_DRIVER = ["0.4.0 " , "main" ]
2626
2727
2828@nox .session
You can’t perform that action at this time.
0 commit comments