mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: update testutil chan helpers (#17408)
This commit is contained in:
@@ -943,9 +943,9 @@ func TestPGCoordinatorPropogatedPeerContext(t *testing.T) {
|
||||
|
||||
reqs, _ := c1.Coordinate(peerCtx, peerID, "peer1", auth)
|
||||
|
||||
testutil.RequireSendCtx(ctx, t, reqs, &proto.CoordinateRequest{AddTunnel: &proto.CoordinateRequest_Tunnel{Id: agpl.UUIDToByteSlice(agentID)}})
|
||||
testutil.RequireSend(ctx, t, reqs, &proto.CoordinateRequest{AddTunnel: &proto.CoordinateRequest_Tunnel{Id: agpl.UUIDToByteSlice(agentID)}})
|
||||
|
||||
_ = testutil.RequireRecvCtx(ctx, t, ch)
|
||||
_ = testutil.TryReceive(ctx, t, ch)
|
||||
}
|
||||
|
||||
func assertEventuallyStatus(ctx context.Context, t *testing.T, store database.Store, agentID uuid.UUID, status database.TailnetStatus) {
|
||||
|
||||
Reference in New Issue
Block a user