Skip to content

Commit

Permalink
Make msgs show up as test output so I don't get confused reading CI l…
Browse files Browse the repository at this point in the history
…ogs lol
  • Loading branch information
Shaptic committed Sep 17, 2020
1 parent ed2eb93 commit edf630a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ func TestProtocol14StateVerifier(t *testing.T) {

// Wait for the first checkpoint ledger
for !itest.LedgerIngested(63) {
fmt.Println("63 not closed yet...")
t.Log("First checkpoint ledger (63) not closed yet...")
time.Sleep(5 * time.Second)
}

var metrics string

// Check metrics until state verification run
for i := 0; i < 60; i++ {
fmt.Printf("Checking metrics (%d attempt)\n", i)
t.Logf("Checking metrics (%d attempt)\n", i)
res, err := http.Get(fmt.Sprintf("http://localhost:%d/metrics", itest.AdminPort()))
assert.NoError(t, err)

Expand Down

0 comments on commit edf630a

Please sign in to comment.