Skip to content

Commit

Permalink
Remove unused function registerAndSettle
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Geihs <[email protected]>
  • Loading branch information
matthiasgeihs committed Jul 8, 2021
1 parent 1764f43 commit c3218dc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions client/virtual_channel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit c3218dc

Please sign in to comment.