indradhanush / dnsimple2-python

Python client for the DNSimple v2 API
MIT License
2 stars 5 forks source link

test_list_lazy_load fails intermittently #6

Open indradhanush opened 7 years ago

indradhanush commented 7 years ago

Following is the output from travis. The build was fixed on a retry. This requires investigation.

======================================================================

FAIL: test_list_lazy_load (dnsimple2.tests.services.test_domains.DomainServiceTests)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/home/travis/build/indradhanush/dnsimple2-python/dnsimple2/tests/services/test_domains.py", line 74, in test_list_lazy_load

    resources[len(resources)]

AssertionError: IndexError not raised
indradhanush commented 7 years ago

Update: This test fails the first time a new branch is pushed. Restarting the specific job on Travis for the same build fixes it. 🐛

indradhanush commented 7 years ago

Another update: Disabling concurrent jobs on Travis seems to have fixed it. Haven't seen builds failing anymore.

It might be a good idea to use a different account id for each test then.

Let's leave this open for some more time and it can be closed if builds continue to work.