From c1e334169d94bf96f068afc8f81e3efb3ace5b1b Mon Sep 17 00:00:00 2001 From: Elim Tsiagbey Date: Thu, 18 Apr 2024 16:26:15 -0400 Subject: [PATCH] test(worker): remove assertion for grpc shutdown state --- internal/daemon/worker/controller_connection_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/daemon/worker/controller_connection_test.go b/internal/daemon/worker/controller_connection_test.go index ba07127629..f03557f366 100644 --- a/internal/daemon/worker/controller_connection_test.go +++ b/internal/daemon/worker/controller_connection_test.go @@ -12,7 +12,6 @@ import ( "testing" "time" - "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/net/nettest" "google.golang.org/grpc" @@ -92,7 +91,6 @@ func TestMonitorUpstreamConnectionState(t *testing.T) { require.NoError(t, cc.Close()) cancelStateCtx() - assert.Equal(t, connectivity.Shutdown, cc.GetState()) }) } }