Skip to content

Commit

Permalink
try stderr?
Browse files Browse the repository at this point in the history
  • Loading branch information
dnr committed Oct 25, 2024
1 parent b2601dc commit 780e6af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testcore/functional_test_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ func CheckTestShard(t *testing.T, atTestLevel bool) {

start := time.Now()
t.Cleanup(func() {
// log directly to stdout so it always shows up in output
fmt.Printf("### elapsed {%q, %f}\n", t.Name(), time.Since(start).Seconds())
// log directly to stderr so it always shows up in output
fmt.Fprintf(os.Stderr, "### elapsed {%q, %f}\n", t.Name(), time.Since(start).Seconds())
})
}

Expand Down

0 comments on commit 780e6af

Please sign in to comment.