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

+2
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)