Skip to content

Commit

Permalink
fix error causing test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mleku committed Dec 14, 2024
1 parent c72dc14 commit 2ec9874
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion realy/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import (
func startTestRelay(c context.T, t *testing.T, tr *testRelay) *Server {
t.Helper()
srv, _ := NewServer(ServerParams{
c, func() {}, tr, "", 500 * units.Kb, "", "", nil,
Ctx: c,
Cancel: func() {},
Rl: tr,
MaxLimit: 500 * units.Kb,
})
started := make(chan bo)
go srv.Start("127.0.0.1", 0, started)
Expand Down

0 comments on commit 2ec9874

Please sign in to comment.