Skip to content

Commit 682b497

Browse files
authored
Tweak error messages in E2E test to match updats in SGS (#100)
1 parent a638de1 commit 682b497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/btrdb_integration/test_conn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_incorrect_connect(
2424
env_name = os.getenv("BTRDB_INTEGRATION_TEST_PROFILE")
2525
creds = credentials_by_profile(env_name)
2626
conn_str = creds["endpoints"]
27-
err_msg = r"""Could not connect to the database, error message: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNAUTHENTICATED\n\tdetails = "invalid api key"\n"""
27+
err_msg = r"""Could not connect to the database, error message: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNAUTHENTICATED\n\tdetails = "could not validate api key:"""
2828
with pytest.raises(BTrDBError, match=err_msg):
2929
conn = btrdb.connect(conn_str=conn_str, apikey="BOGUS_KEY")
3030

0 commit comments

Comments
 (0)