mirror of
https://github.com/status-im/status-go.git
synced 2025-01-29 16:06:47 +00:00
fix_: flaky TestSignalsServer (#5838)
This commit is contained in:
parent
f51d4654f6
commit
596d75ab79
@ -58,7 +58,9 @@ func (s *Server) Listen(address string) error {
|
||||
ReadHeaderTimeout: 5 * time.Second,
|
||||
}
|
||||
|
||||
http.HandleFunc("/signals", s.signals)
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("/signals", s.signals)
|
||||
s.server.Handler = mux
|
||||
|
||||
listener, err := net.Listen("tcp", address)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user