Skip to content

Commit 1e80de9

Browse files
committed
Delete spare codes.
1 parent 0a74af5 commit 1e80de9

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

integration-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBAuthenticationTableIT.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,14 +1135,7 @@ public void testAlter() throws IoTDBConnectionException, StatementExecutionExcep
11351135
e.getMessage());
11361136
}
11371137

1138-
try {
1139-
sessionB.executeNonQueryStatement("ALTER TABLE t1 ALTER COLUMN c1 SET DATA TYPE FLOAT");
1140-
} catch (StatementExecutionException e) {
1141-
assertEquals(
1142-
"803: Access Denied: No permissions for this operation, please add privilege ALTER ON test3.t1",
1143-
e.getMessage());
1144-
fail("Should not run here");
1145-
}
1138+
sessionB.executeNonQueryStatement("ALTER TABLE t1 ALTER COLUMN c1 SET DATA TYPE FLOAT");
11461139
}
11471140
}
11481141
}

0 commit comments

Comments
 (0)