mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Merge pull request #576 from maticnetwork/shivam/POS-654
fix : TestRemoteMultiNotifyFull
This commit is contained in:
commit
7122ddbde8
1 changed files with 3 additions and 3 deletions
|
|
@ -180,9 +180,6 @@ func TestRemoteMultiNotify(t *testing.T) {
|
||||||
// Tests that pushing work packages fast to the miner doesn't cause any data race
|
// Tests that pushing work packages fast to the miner doesn't cause any data race
|
||||||
// issues in the notifications. Full pending block body / --miner.notify.full)
|
// issues in the notifications. Full pending block body / --miner.notify.full)
|
||||||
func TestRemoteMultiNotifyFull(t *testing.T) {
|
func TestRemoteMultiNotifyFull(t *testing.T) {
|
||||||
// TODO: Understand the test case and Identify the reason for failing tests.
|
|
||||||
// Also, make it more deterministic.
|
|
||||||
t.Skip("skipping - non-deterministic test, no dependency on this test for now and not directly relevant to bor")
|
|
||||||
|
|
||||||
// Start a simple web server to capture notifications.
|
// Start a simple web server to capture notifications.
|
||||||
sink := make(chan map[string]interface{}, 64)
|
sink := make(chan map[string]interface{}, 64)
|
||||||
|
|
@ -197,6 +194,9 @@ func TestRemoteMultiNotifyFull(t *testing.T) {
|
||||||
}
|
}
|
||||||
sink <- work
|
sink <- work
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
// Allowing the server to start listening.
|
||||||
|
time.Sleep(2 * time.Second)
|
||||||
defer server.Close()
|
defer server.Close()
|
||||||
|
|
||||||
// Create the custom ethash engine.
|
// Create the custom ethash engine.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue