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()) }) } }