Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timed out test #44

Open
exklamationmark opened this issue May 12, 2015 · 1 comment
Open

Timed out test #44

exklamationmark opened this issue May 12, 2015 · 1 comment

Comments

@exklamationmark
Copy link

Hi,

When I ran the tests for 135f567, I saw this

$ go test
Running Suite: Apns Suite
=========================
Random Seed: 1431423856
Will run 72 of 72 specs

••••••••••••••••••••••••••••••••••••••••••••
------------------------------
•... Timeout [1.000 seconds]
Client
/home/mark/workspace/src/apns/client_test.go:384
  #Send
  /home/mark/workspace/src/apns/client_test.go:383
    bad push
    /home/mark/workspace/src/apns/client_test.go:181
      should not return an error [It]
      /home/mark/workspace/src/apns/client_test.go:180

      Timed out

      /home/mark/workspace/src/apns/client_test.go:180
------------------------------
••
------------------------------
•... Timeout [1.000 seconds]
Client
/home/mark/workspace/src/apns/client_test.go:384
  #Send
  /home/mark/workspace/src/apns/client_test.go:383
    good, bad, good, requeue of last good
    /home/mark/workspace/src/apns/client_test.go:382
      should not return an error [It]
      /home/mark/workspace/src/apns/client_test.go:381

      Timed out

      /home/mark/workspace/src/apns/client_test.go:381
------------------------------
••••••••••••••••••••••••

Summarizing 2 Failures:

[Timeout...] Client #Send bad push [It] should not return an error 
/home/mark/workspace/src/apns/client_test.go:180

[Timeout...] Client #Send good, bad, good, requeue of last good [It] should not return an error 
/home/mark/workspace/src/apns/client_test.go:381

Ran 72 of 72 Specs in 5.489 seconds
FAIL! -- 70 Passed | 2 Failed | 0 Pending | 0 Skipped --- FAIL: TestApns (5.49s)
FAIL
exit status 1
FAIL    apns    6.554s

For the first case ("#Send -> bad push -> should not return an error), I guess it's because this line block: https://github.com/timehop/apns/blob/master/client_test.go#L169

It's probably something wrong with my setup. Have you seen this before?

@exklamationmark exklamationmark changed the title Timeout test: Timedout test: May 13, 2015
@exklamationmark exklamationmark changed the title Timedout test: Timed out test May 13, 2015
@nathany
Copy link
Contributor

nathany commented May 13, 2015

It's not your setup, see #27 and #12.

This is fixed on the develop branch, but that branch isn't quite ready to move to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants