Skip to content

Commit

Permalink
squashme
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 committed Oct 24, 2024
1 parent cb94bdd commit 2192166
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/monitor/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ import (
func TestMonitor(t *testing.T) {
time.Sleep(2 * time.Minute)

expectedPopTxs := 12

var jo jsonOutput

blockWaitTimeoutTimer := time.NewTimer(10 * time.Minute)
for jo.BitcoinBlockCount < 1020 {
for jo.BitcoinBlockCount < 1020 && len(jo.PopTxCount) < expectedPopTxs {

select {
case <-blockWaitTimeoutTimer.C:
Expand All @@ -44,8 +46,6 @@ func TestMonitor(t *testing.T) {
t.Fatal(err)
}

expectedPopTxs := 12

t.Logf("expecting at least %d pop txs mined", expectedPopTxs)

if jo.PopTxCount < uint64(expectedPopTxs) {
Expand Down

0 comments on commit 2192166

Please sign in to comment.