Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Matias Pan <[email protected]>
  • Loading branch information
matipan committed Sep 6, 2024
1 parent 2d336ba commit 04c5318
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/logger/logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func TestLoggerGraceFulShutDown(t *testing.T) {
Address: "127.0.0.1:16901",
}

ctx, syslogger, err := NewLogger(context.Background(), &logCfg)
ctx, err := NewLogger(context.Background(), &logCfg)
if err != nil {
panic(err)
}
Expand Down Expand Up @@ -240,5 +240,4 @@ func TestLoggerGraceFulShutDown(t *testing.T) {
require.EqualValues(t, amountOfMessages, len(messages),
fmt.Sprintf("Expected %d messages, got %d", amountOfMessages, len(messages)),
)
syslogger.Close()
}

0 comments on commit 04c5318

Please sign in to comment.