Skip to content

Commit b639928

Browse files
committed
split-full
1 parent 4fcca9a commit b639928

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,11 @@ public void testSourcePermission() {
293293
// Alter to another user, shall fail because of lack of password
294294
try (final Connection connection = senderEnv.getConnection();
295295
final Statement statement = connection.createStatement()) {
296-
statement.execute("alter pipe a2b_realtime modify source ('username'='thulab')");
296+
statement.execute("alter pipe a2b modify source ('username'='thulab')");
297297
fail("Alter pipe shall fail if only user is specified");
298298
} catch (final SQLException e) {
299299
Assert.assertEquals(
300-
"1107: Failed to alter pipe a2b_realtime, in iotdb-source, password must be set when the username is specified.",
300+
"1107: Failed to alter pipe a2b, in iotdb-source, password must be set when the username is specified.",
301301
e.getMessage());
302302
}
303303

0 commit comments

Comments
 (0)