@@ -163,6 +163,7 @@ func expectEvent(t *testing.T, events <-chan messageEvent, expectedEvent message
163
163
}
164
164
165
165
func TestStartupAndShutdown (t * testing.T ) {
166
+ t .Parallel ()
166
167
ctx := context .Background ()
167
168
messagesSent := make (chan []bsmsg.Entry )
168
169
resetChan := make (chan struct {}, 1 )
@@ -201,6 +202,7 @@ func TestStartupAndShutdown(t *testing.T) {
201
202
}
202
203
203
204
func TestSendingMessagesDeduped (t * testing.T ) {
205
+ t .Parallel ()
204
206
ctx := context .Background ()
205
207
messagesSent := make (chan []bsmsg.Entry )
206
208
resetChan := make (chan struct {}, 1 )
@@ -223,6 +225,7 @@ func TestSendingMessagesDeduped(t *testing.T) {
223
225
}
224
226
225
227
func TestSendingMessagesPartialDupe (t * testing.T ) {
228
+ t .Parallel ()
226
229
ctx := context .Background ()
227
230
messagesSent := make (chan []bsmsg.Entry )
228
231
resetChan := make (chan struct {}, 1 )
@@ -245,6 +248,7 @@ func TestSendingMessagesPartialDupe(t *testing.T) {
245
248
}
246
249
247
250
func TestSendingMessagesPriority (t * testing.T ) {
251
+ t .Parallel ()
248
252
ctx := context .Background ()
249
253
messagesSent := make (chan []bsmsg.Entry )
250
254
resetChan := make (chan struct {}, 1 )
@@ -313,6 +317,7 @@ func TestSendingMessagesPriority(t *testing.T) {
313
317
}
314
318
315
319
func TestCancelOverridesPendingWants (t * testing.T ) {
320
+ t .Parallel ()
316
321
ctx := context .Background ()
317
322
messagesSent := make (chan []bsmsg.Entry )
318
323
resetChan := make (chan struct {}, 1 )
@@ -364,6 +369,7 @@ func TestCancelOverridesPendingWants(t *testing.T) {
364
369
}
365
370
366
371
func TestWantOverridesPendingCancels (t * testing.T ) {
372
+ t .Parallel ()
367
373
ctx := context .Background ()
368
374
messagesSent := make (chan []bsmsg.Entry )
369
375
resetChan := make (chan struct {}, 1 )
@@ -411,6 +417,7 @@ func TestWantOverridesPendingCancels(t *testing.T) {
411
417
}
412
418
413
419
func TestWantlistRebroadcast (t * testing.T ) {
420
+ t .Parallel ()
414
421
ctx := context .Background ()
415
422
messagesSent := make (chan []bsmsg.Entry )
416
423
resetChan := make (chan struct {}, 1 )
@@ -512,6 +519,7 @@ func TestWantlistRebroadcast(t *testing.T) {
512
519
}
513
520
514
521
func TestSendingLargeMessages (t * testing.T ) {
522
+ t .Parallel ()
515
523
ctx := context .Background ()
516
524
messagesSent := make (chan []bsmsg.Entry )
517
525
resetChan := make (chan struct {}, 1 )
@@ -542,6 +550,7 @@ func TestSendingLargeMessages(t *testing.T) {
542
550
}
543
551
544
552
func TestSendToPeerThatDoesntSupportHave (t * testing.T ) {
553
+ t .Parallel ()
545
554
ctx := context .Background ()
546
555
messagesSent := make (chan []bsmsg.Entry )
547
556
resetChan := make (chan struct {}, 1 )
@@ -597,6 +606,7 @@ func TestSendToPeerThatDoesntSupportHave(t *testing.T) {
597
606
}
598
607
599
608
func TestSendToPeerThatDoesntSupportHaveMonitorsTimeouts (t * testing.T ) {
609
+ t .Parallel ()
600
610
ctx := context .Background ()
601
611
messagesSent := make (chan []bsmsg.Entry )
602
612
resetChan := make (chan struct {}, 1 )
@@ -629,6 +639,7 @@ func TestSendToPeerThatDoesntSupportHaveMonitorsTimeouts(t *testing.T) {
629
639
}
630
640
631
641
func TestResponseReceived (t * testing.T ) {
642
+ t .Parallel ()
632
643
ctx := context .Background ()
633
644
messagesSent := make (chan []bsmsg.Entry )
634
645
resetChan := make (chan struct {}, 1 )
@@ -680,6 +691,7 @@ func TestResponseReceived(t *testing.T) {
680
691
}
681
692
682
693
func TestResponseReceivedAppliesForFirstResponseOnly (t * testing.T ) {
694
+ t .Parallel ()
683
695
ctx := context .Background ()
684
696
messagesSent := make (chan []bsmsg.Entry )
685
697
resetChan := make (chan struct {}, 1 )
@@ -725,6 +737,7 @@ func TestResponseReceivedAppliesForFirstResponseOnly(t *testing.T) {
725
737
}
726
738
727
739
func TestResponseReceivedDiscardsOutliers (t * testing.T ) {
740
+ t .Parallel ()
728
741
ctx := context .Background ()
729
742
messagesSent := make (chan []bsmsg.Entry )
730
743
resetChan := make (chan struct {}, 1 )
0 commit comments