remove noisy logger

This commit is contained in:
William Banfield
2022-01-14 19:55:51 -05:00
parent 330eb8ded0
commit 88db4cdf7e
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ func newPBTSTestHarness(ctx context.Context, t *testing.T, tc pbtsTestConfigurat
Time: tc.genesisTime,
Validators: validators,
})
cs := newState(ctx, t, log.NewTestingLogger(t), state, privVals[0], kvstore.NewApplication())
cs := newState(ctx, t, log.TestingLogger(), state, privVals[0], kvstore.NewApplication())
vss := make([]*validatorStub, validators)
for i := 0; i < validators; i++ {
vss[i] = newValidatorStub(privVals[i], int32(i))

View File

@@ -1208,7 +1208,7 @@ func TestStateLock_POLDoesNotUnlock(t *testing.T) {
// new block if a proposal was not seen for that block.
func TestStateLock_MissingProposalWhenPOLSeenDoesNotUpdateLock(t *testing.T) {
config := configSetup(t)
logger := log.NewTestingLogger(t)
logger := log.TestingLogger()
ctx, cancel := context.WithCancel(context.Background())
defer cancel()