Skip to content

Commit 395813e

Browse files
committed
Fix IT
1 parent 59ccd9a commit 395813e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ public void testAuthInclusion() throws Exception {
230230
TestUtils.assertDataEventuallyOnEnv(
231231
receiverEnv,
232232
"list user of role `admin`",
233-
ColumnHeaderConstant.USER + ",",
234-
Collections.singleton("thulab,"));
233+
ColumnHeaderConstant.USER_ID + "," + ColumnHeaderConstant.USER + ",",
234+
Collections.singleton("10000,thulab,"));
235235
TestUtils.assertDataEventuallyOnEnv(
236236
receiverEnv,
237237
"list privileges of role `admin`",

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
@@ -147,8 +147,8 @@ private void testWithSink(final String sink) throws Exception {
147147
TestUtils.assertDataEventuallyOnEnv(
148148
receiverEnv,
149149
"list user",
150-
"User,",
151-
new HashSet<>(Arrays.asList("root,", "user,", "thulab,")));
150+
"UserId,User,",
151+
new HashSet<>(Arrays.asList("0,root,", "10001,user,", "10000,thulab,")));
152152
final Set<String> expectedResSet = new HashSet<>();
153153
expectedResSet.add(
154154
"root.ln.wf02.wt01.temperature,null,root.ln,INT64,PLAIN,LZ4,null,null,null,null,BASE,");

0 commit comments

Comments
 (0)