Skip to content

Commit e5298d2

Browse files
authored
ci: Fix multithreaded test (#213)
1 parent 2ee04ef commit e5298d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/integration/dbapi/sync/test_queries.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from firebolt.async_db._types import ColType, Column
99
from firebolt.async_db.cursor import QueryStatus
10-
from firebolt.client.auth import UsernamePassword
10+
from firebolt.client.auth import ServiceAccount
1111
from firebolt.db import (
1212
Connection,
1313
Cursor,
@@ -379,8 +379,8 @@ def test_set_invalid_parameter(connection: Connection):
379379
def test_anyio_backend_import_issue(
380380
engine_url: str,
381381
database_name: str,
382-
username: str,
383-
password: str,
382+
service_id: str,
383+
service_secret: str,
384384
account_name: str,
385385
api_endpoint: str,
386386
_: int,
@@ -391,10 +391,10 @@ def test_anyio_backend_import_issue(
391391
exceptions = []
392392

393393
def run_query(idx: int):
394-
nonlocal username, password, database_name, engine_url, account_name, api_endpoint
394+
nonlocal service_id, service_secret, database_name, engine_url, account_name, api_endpoint
395395
try:
396396
with connect(
397-
auth=UsernamePassword(username, password),
397+
auth=ServiceAccount(service_id, service_secret),
398398
database=database_name,
399399
account_name=account_name,
400400
engine_url=engine_url,

0 commit comments

Comments
 (0)