Merge pull request #17430 from karalabe/miner-notify-less-aggressive-test

consensus/ethash: reduce notify test aggressiveness
This commit is contained in:
Péter Szilágyi 2018-08-20 15:11:49 +03:00 committed by GitHub
commit 68f0a414ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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