Skip to content

Commit

Permalink
test(telegram): set e2e timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Dec 18, 2020
1 parent dc0ba83 commit dd62409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/client_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestClient(t *testing.T) {
srv.Start()
defer srv.Close()

ctx, cancel := context.WithTimeout(context.Background(), time.Second*60)
ctx, cancel := context.WithDeadline(context.Background(), time.Now().Add(time.Minute))
defer cancel()

dispatcher := tg.NewUpdateDispatcher()
Expand Down

0 comments on commit dd62409

Please sign in to comment.