fix(性能测试): 修复性能测试复制时提示的名称长度超限的问题

Closes #23577
This commit is contained in:
CaptainB 2023-04-11 18:15:56 +08:00 committed by 刘瑞斌
parent d144fdb6c8
commit c88ca44085
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ public class PerformanceTestService {
// copy test
String copyName = copy.getName() + "_" + RandomStringUtils.randomAlphanumeric(5);
if (StringUtils.length(copyName) > 30) {
if (StringUtils.length(copyName) > 255) {
MSException.throwException(Translator.get("load_test_name_length"));
}
copy.setId(UUID.randomUUID().toString());