Skip to content

Commit 12e543a

Browse files
committed
Merge branch 'main' into CRE-756-scrape-node-prom-sd
2 parents 3be7291 + ceab1e8 commit 12e543a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

framework/.changeset/v0.10.18.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Call teardown when a WASP virtual user test is finished to ensure cleanup

wasp/wasp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ func (g *Generator) runVU(vu VirtualUser) {
443443
}()
444444
select {
445445
case <-g.ResponsesCtx.Done():
446+
g.runTeardownWithTimeout(vu)
446447
cancel()
447448
return
448449
case <-vu.StopChan():

0 commit comments

Comments
 (0)