Browse Source

consensus/ethash: reduce notify test aggressiveness

Péter Szilágyi 7 năm trước cách đây
mục cha
commit
251c868008
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      consensus/ethash/sealer_test.go

+ 1 - 1
consensus/ethash/sealer_test.go

@@ -70,7 +70,7 @@ func TestRemoteNotify(t *testing.T) {
 // issues in the notifications.
 func TestRemoteMultiNotify(t *testing.T) {
 	// Start a simple webserver to capture notifications
-	sink := make(chan [3]string, 1024)
+	sink := make(chan [3]string, 64)
 
 	server := &http.Server{
 		Handler: http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {