Skip to content

Commit fe81b0b

Browse files
authored
fix: Wait for TestServer/Telemetry to close before exit (#2554)
This was causing occasional test failures due to leakage!
1 parent a48a838 commit fe81b0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/server_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ func TestServer(t *testing.T) {
267267

268268
<-deployment
269269
<-snapshot
270+
cancelFunc()
271+
<-errC
270272
})
271273
}
272274

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy