Skip to content

Commit 271cc23

Browse files
committed
fix
1 parent b3dab2f commit 271cc23

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration-test/src/test/java/org/apache/iotdb/pipe/it/single/IoTDBPipeOPCUAIT.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,9 @@ public void testOPCUAServerSink() throws Exception {
255255
Assert.fail();
256256
} catch (final Exception e) {
257257
Assert.assertEquals(
258-
"org.apache.iotdb.jdbc.IoTDBSQLException: 1107: The existing server with tcp port 12686 and https port 8443's password **** conflicts to the new password ****, reject reusing.",
258+
String.format(
259+
"org.apache.iotdb.jdbc.IoTDBSQLException: 1107: The existing server with tcp port %s and https port %s's password **** conflicts to the new password ****, reject reusing.",
260+
tcpPort, httpsPort),
259261
e.getMessage());
260262
}
261263
} finally {

0 commit comments

Comments
 (0)