Skip to content

Commit 83becc0

Browse files
committed
fix
1 parent d4da677 commit 83becc0

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
@@ -414,6 +414,8 @@ public void testSourcePermission() {
414414
fail("Create pipe without user shall succeed if use the current session");
415415
}
416416

417+
TestUtils.executeNonQuery(senderEnv, "revoke SYSTEM on root.** from user thulab");
418+
417419
// A user shall only see its own pipe
418420
try (final Connection connection = senderEnv.getConnection("thulab", "passwD@123456");
419421
final Statement statement = connection.createStatement()) {
@@ -424,7 +426,5 @@ public void testSourcePermission() {
424426
} catch (Exception e) {
425427
fail(e.getMessage());
426428
}
427-
428-
TestUtils.executeNonQuery(senderEnv, "revoke SYSTEM on root.** from user thulab");
429429
}
430430
}

0 commit comments

Comments
 (0)