mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
refactor: 修改性能测试查询报告状态判断
This commit is contained in:
parent
55be1a7386
commit
999dc8654e
@ -87,7 +87,7 @@ public class ReportWebSocket {
|
||||
if (!session.isOpen()) {
|
||||
return;
|
||||
}
|
||||
if (PerformanceTestStatus.Running.name().equals(report.getStatus())) {
|
||||
if (StringUtils.equalsAny(report.getStatus(), PerformanceTestStatus.Running.name(), PerformanceTestStatus.Reporting.name())) {
|
||||
session.getBasicRemote().sendText("refresh-" + this.refresh++);
|
||||
}
|
||||
Thread.sleep(20 * 1000L);
|
||||
|
Loading…
Reference in New Issue
Block a user