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

Test suite hangs #62

Closed
nathany opened this issue Aug 2, 2016 · 5 comments
Closed

Test suite hangs #62

nathany opened this issue Aug 2, 2016 · 5 comments

Comments

@nathany
Copy link

nathany commented Aug 2, 2016

❯ STRIPE_SECRET_KEY=mykey mix test --trace
Excluding tags: [disabled: true]

warning: this check/guard will always yield the same result
  test/stripe/connect_test.exs:50

warning: this check/guard will always yield the same result
  test/stripe/stripe_test.exs:40


Stripe.SubscriptionTest

It just hangs there. I waited over 4 minutes before aborting.

(Elixir 1.3.1, OS X 10.11.6)

@nathany nathany changed the title Test suite hangs (Elixir 1.3.1) Test suite hangs Aug 2, 2016
@robconery
Copy link
Contributor

The problem with the tests, which I'm not sure how to fix, is that the constant bounces of the Stripe API cause a hang at some point. Unfortunately we need to hit the API - open to thoughts.

@nathany
Copy link
Author

nathany commented Aug 3, 2016

I've been trying out ExVCR in tests, which helps speed up tests in development, but its still useful to hit the real Stripe API in Travis CI. It may be best to track down the issue before introducing another dependency.

Any idea how to track down where that hang is happening?

@robconery
Copy link
Contributor

I think someone has already tracked it in another PR I just merged - I need to sit with this a bit when I get home tomorrow.

@dmvt
Copy link
Contributor

dmvt commented Oct 20, 2016

The test suite is being rebuilt in #101

@dmvt dmvt closed this as completed Oct 20, 2016
@joshsmith
Copy link
Contributor

Conversation has moved to #102.

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

4 participants