fc66b8b5cc2bfd627cf8e51963dd59c08bc70d44 — Sam Whited 2 years ago 3482700
xmpp: increase timeout on tests

This is still flakey in the VM, but I don't want to remove the timeout
entirely in case it blocks. If it hasn't finished in 10 seconds, even on
a slow VM, something else is going horribly wrong anyways so call it
good enough.
1 files changed, 1 insertions(+), 1 deletions(-)

M send_test.go
M send_test.go => send_test.go +1 -1
@@ 114,7 114,7 @@ func TestSendIQ(t *testing.T) {

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

				resp, err := s.SendIQElement(ctx, tc.payload, tc.iq)