fix(接口测试): 修复调试偶发session被清除无法停止问题
--bug=1017936 --user=赵勇 场景中添加自定义SQL请求-调试执行成功,但是显示“停止”(偶现) https://www.tapd.cn/55049933/s/1274008
This commit is contained in:
parent
da11f99b3b
commit
cbafdca681
|
@ -102,7 +102,6 @@ public class MsDebugListener extends AbstractListenerElement implements SampleLi
|
||||||
dto.setToReport(this.getName());
|
dto.setToReport(this.getName());
|
||||||
LoggerUtil.debug("send. " + this.getName());
|
LoggerUtil.debug("send. " + this.getName());
|
||||||
WebSocketUtil.sendMessageSingle(dto);
|
WebSocketUtil.sendMessageSingle(dto);
|
||||||
WebSocketUtil.onClose(this.getName());
|
|
||||||
PoolExecBlockingQueueUtil.offer(this.getName());
|
PoolExecBlockingQueueUtil.offer(this.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1034,6 +1034,7 @@ export default {
|
||||||
this.debugLoading = false;
|
this.debugLoading = false;
|
||||||
this.message = "stop";
|
this.message = "stop";
|
||||||
this.stopDebug = "stop";
|
this.stopDebug = "stop";
|
||||||
|
this.messageWebSocket.close();
|
||||||
this.reload();
|
this.reload();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue