forked from TrueCloudLab/frostfs-node
[#895] test: Fix NewLogger arguments list
`debug` is always true. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
a8e52ef7aa
commit
f1b2b8bffa
32 changed files with 60 additions and 65 deletions
|
@ -20,7 +20,7 @@ func TestEventHandling(t *testing.T) {
|
|||
notaryRequestsCh := make(chan *result.NotaryRequestEvent)
|
||||
|
||||
l, err := NewListener(ListenerParams{
|
||||
Logger: test.NewLogger(t, true),
|
||||
Logger: test.NewLogger(t),
|
||||
Subscriber: &testSubscriber{
|
||||
blockCh: blockCh,
|
||||
notificationCh: notificationCh,
|
||||
|
@ -102,7 +102,7 @@ func TestErrorPassing(t *testing.T) {
|
|||
t.Run("notification error", func(t *testing.T) {
|
||||
nErr := fmt.Errorf("notification error")
|
||||
l, err := NewListener(ListenerParams{
|
||||
Logger: test.NewLogger(t, true),
|
||||
Logger: test.NewLogger(t),
|
||||
Subscriber: &testSubscriber{
|
||||
blockCh: blockCh,
|
||||
notificationCh: notificationCh,
|
||||
|
@ -126,7 +126,7 @@ func TestErrorPassing(t *testing.T) {
|
|||
t.Run("block error", func(t *testing.T) {
|
||||
bErr := fmt.Errorf("notification error")
|
||||
l, err := NewListener(ListenerParams{
|
||||
Logger: test.NewLogger(t, true),
|
||||
Logger: test.NewLogger(t),
|
||||
Subscriber: &testSubscriber{
|
||||
blockCh: blockCh,
|
||||
notificationCh: notificationCh,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue