Skip to content

Commit 3d6ff40

Browse files
committed
fix
1 parent c08b962 commit 3d6ff40

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

integration-test/src/test/java/org/apache/iotdb/pipe/it/dual/treemodel/manual/IoTDBPipePermissionIT.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,8 @@ public void testSourcePermission() {
270270
receiverEnv.getDataNodeWrapperList().get(0).getIpAndPortString()));
271271
fail("Shall fail if password is wrong.");
272272
} catch (final SQLException e) {
273-
Assert.assertEquals(
274-
"1107: ProcedureId 97: Fail to CREATE_PIPE because Authentication failed.",
275-
e.getMessage());
273+
Assert.assertTrue(
274+
e.getMessage().contains("Fail to CREATE_PIPE because Authentication failed."));
276275
}
277276

278277
// Use current session, user is root

0 commit comments

Comments
 (0)