Skip to content

Commit f21e9d1

Browse files
committed
Do not consider closing pending grpc connections an error
1 parent 8faec8c commit f21e9d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pkg/integration/integration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ func Instrument(component ComponentType, agentName string, namespace string, kub
308308
closer = append(closer, func() error {
309309
if res != nil {
310310
err := res.Call(MethodTestAgentShutdown, new(TestAgentShutdownRequest), new(TestAgentShutdownResponse))
311-
if err != nil && strings.Contains(err.Error(), "connection is shut down") {
311+
if err != nil && (strings.Contains(err.Error(), "connection is shut down") || strings.Contains(err.Error(), "the client connection is closing")) {
312312
return nil
313313
}
314314

0 commit comments

Comments
 (0)