Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
opnode: Quiet logging during testing
Browse files Browse the repository at this point in the history
This enables the nice test ouput with `go test -v` that lists
each test without polluting the output with logs from passing tests.
  • Loading branch information
trianglesphere committed Mar 22, 2022
1 parent f9bedc7 commit c9c1e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opnode/rollup/driver/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ type stateTestCase struct {
}

func (tc *stateTestCase) Run(t *testing.T) {
log := testlog.Logger(t, log.LvlTrace)
log := testlog.Logger(t, log.LvlError)
chainSource := NewFakeChainSource(tc.l1Chains, tc.l2Chains, log)
l1headsCh := make(chan eth.L1BlockRef, 10)
// Unbuffered channels to force a sync point between the test and the state loop.
Expand Down

0 comments on commit c9c1e0a

Please sign in to comment.