Skip to content

Commit

Permalink
test - missing context
Browse files Browse the repository at this point in the history
  • Loading branch information
vodolaz095 committed Nov 9, 2023
1 parent 1240903 commit c26e1af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server_counters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package msmtpd

import (
"bytes"
"context"
"io"
"net/http"
"net/smtp"
Expand Down Expand Up @@ -83,7 +84,8 @@ func TestCountersHttpExporter(t *testing.T) {
wg := sync.WaitGroup{}
wg.Add(1)
srv := &Server{
Logger: &TestLogger{Suite: t},
Context: context.TODO(),
Logger: &TestLogger{Suite: t},
CloseHandlers: []CloseHandler{
func(tr *Transaction) error {
wg.Done()
Expand Down

0 comments on commit c26e1af

Please sign in to comment.