Skip to content

Commit 16720c5

Browse files
committed
Updated text of invalid password tests
1 parent 50b747b commit 16720c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ private void testConnection(ConnectionSupplier connectionSupplier, String userNa
7676

7777
private void wrongConnection(ConnectionSupplier connectionSupplier) {
7878
ExceptionAssert.sqlException("Cannot connect to YDB: Discovery failed, "
79-
+ "gRPC error: (INTERNAL) get token exception: "
79+
+ "Cannot get value, code: CLIENT_GRPC_ERROR, issues: ["
80+
+ "gRPC error: (INTERNAL) get token exception (S_ERROR), "
81+
+ "tech.ydb.core.UnexpectedResultException: Can't login, "
82+
+ "code: UNAUTHORIZED, issues: [#400020 Invalid password (S_FATAL)] (S_ERROR)], "
8083
+ "Can't login, code: UNAUTHORIZED, issues: [#400020 Invalid password (S_FATAL)]",
8184
() -> testConnection(connectionSupplier, null));
8285
}

0 commit comments

Comments
 (0)