提交 ffcc0dec 编写于 作者: Z zyyang

change

上级 4fd7c953
......@@ -35,7 +35,7 @@ public class TSDBStatementTest {
@Test
public void executeUpdate() {
String dbName = "test_" + UUID.randomUUID();
dbName = dbName.replace("-", "_");
dbName = dbName.replace("-", "_").substring(0,32);
try {
int affectRows = stmt.executeUpdate("create database " + dbName);
Assert.assertEquals(0, affectRows);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册