fix: fast fail , not closing the websocket connection

This commit is contained in:
ywb
2023-04-18 16:23:20 +08:00
parent 04621c600f
commit 419620fad3
2 changed files with 23 additions and 13 deletions
+4
View File
@@ -361,6 +361,10 @@ func (b *HRPBoomer) convertBoomerTask(testcase *TestCase, rendezvousList []*Rend
}
mutex.Unlock()
defer func() {
sessionRunner.releaseResources()
}()
startTime := time.Now()
for _, step := range testcase.TestSteps {
// TODO: parse step struct