Skip to content

Commit 71b9e4b

Browse files
committed
Update tests
1 parent 60c2741 commit 71b9e4b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jdbc/src/test/java/tech/ydb/jdbc/YdbDriverStaticCredsTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ private void testConnection(ConnectionSupplier connectionSupplier) throws SQLExc
7373
}
7474

7575
private void wrongConnection(ConnectionSupplier connectionSupplier) {
76-
ExceptionAssert.ydbConfiguration("Cannot connect to YDB", () -> testConnection(connectionSupplier));
76+
ExceptionAssert.ydbConfiguration("Cannot connect to YDB: gRPC error: (INTERNAL) get token exception: "
77+
+ "Can't login, code: UNAUTHORIZED, issues: [#400020 Invalid password (S_FATAL)]",
78+
() -> testConnection(connectionSupplier));
7779
}
7880

7981
@Test

0 commit comments

Comments
 (0)