Skip to content

Timed out test #44

@exklamationmark

Description

@exklamationmark

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions