From a2fd106b6219cd8ffc3c8b06ad35bfc8266a0bc1 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Mon, 26 Jul 2021 09:27:41 -0400 Subject: [PATCH] change to use only one channel --- internal/p2p/pqueue_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/p2p/pqueue_test.go b/internal/p2p/pqueue_test.go index 788964cb4..ddb7addbe 100644 --- a/internal/p2p/pqueue_test.go +++ b/internal/p2p/pqueue_test.go @@ -11,11 +11,6 @@ func TestCloseWhileDequeueFull(t *testing.T) { enqueueLength := 5 chDescs := []ChannelDescriptor{ {ID: 0x01, Priority: 1, MaxSendBytes: 4}, - {ID: 0x02, Priority: 1, MaxSendBytes: 4}, - {ID: 0x03, Priority: 1, MaxSendBytes: 4}, - {ID: 0x04, Priority: 1, MaxSendBytes: 4}, - {ID: 0x05, Priority: 1, MaxSendBytes: 4}, - {ID: 0x06, Priority: 1, MaxSendBytes: 4}, } pqueue := newPQScheduler(log.NewNopLogger(), NopMetrics(), chDescs, uint(enqueueLength), 1, 120)