Skip to content

Commit

Permalink
test(tgtest): increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Dec 18, 2020
1 parent dd62409 commit b793aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/internal/tgtest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (s *Server) serveConn(conn net.Conn) error {
return errors.New("unexpected intermediate client start")
}

ctx, cancel := context.WithTimeout(s.ctx, 10*time.Second) // TODO(tdakkota): make it configurable
ctx, cancel := context.WithTimeout(s.ctx, 60*time.Second) // TODO(tdakkota): make it configurable
defer cancel()
transport := proto.IntermediateFromConnection(conn)

Expand Down

0 comments on commit b793aed

Please sign in to comment.