This commit is contained in:
zyyang 2021-02-03 18:42:37 +08:00
parent f146ada4e7
commit 4fd7c9532e
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ public class TSDBStatementTest {
@Test @Test
public void executeUpdate() { public void executeUpdate() {
final String dbName = "test_" + UUID.randomUUID(); String dbName = "test_" + UUID.randomUUID();
dbName = dbName.replace("-", "_");
try { try {
int affectRows = stmt.executeUpdate("create database " + dbName); int affectRows = stmt.executeUpdate("create database " + dbName);
Assert.assertEquals(0, affectRows); Assert.assertEquals(0, affectRows);