Commit 37647587 authored by Joshua Gutow's avatar Joshua Gutow Committed by GitHub

op-e2e: Don't double peer (#9423)

parent b0f845c2
...@@ -187,7 +187,6 @@ func TestELSync(gt *testing.T) { ...@@ -187,7 +187,6 @@ func TestELSync(gt *testing.T) {
} }
// Wait longer to peer. This tests flakes or takes a long time when the op-geth instances are not able to peer. // Wait longer to peer. This tests flakes or takes a long time when the op-geth instances are not able to peer.
seqEng.AddPeers(verEng.Enode())
verEng.AddPeers(seqEng.Enode()) verEng.AddPeers(seqEng.Enode())
// Insert it on the verifier // Insert it on the verifier
...@@ -201,7 +200,7 @@ func TestELSync(gt *testing.T) { ...@@ -201,7 +200,7 @@ func TestELSync(gt *testing.T) {
func() bool { func() bool {
return seqEng.PeerCount() > 0 && verEng.PeerCount() > 0 return seqEng.PeerCount() > 0 && verEng.PeerCount() > 0
}, },
60*time.Second, 1500*time.Millisecond, 120*time.Second, 1500*time.Millisecond,
"Sequencer & Verifier must peer with each other for snap sync to work", "Sequencer & Verifier must peer with each other for snap sync to work",
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment