diff --git a/client/virtual_channel_test.go b/client/virtual_channel_test.go index 26c980ce5..0867ceda5 100644 --- a/client/virtual_channel_test.go +++ b/client/virtual_channel_test.go @@ -277,14 +277,3 @@ func setupVirtualChannelTest(t *testing.T, ctx context.Context) (vct virtualChan require.NoError(err, "updating virtual channel") return } - -func (vct virtualChannelTest) registerAndSettle(ctx context.Context, ch *client.Channel) (err error) { - err = ch.Register(ctx) - if err != nil { - return - } - - time.Sleep(100 * time.Millisecond) // Sleep to ensure that registered event has been processed. - err = ch.Settle(ctx, false) - return -}