{"action":"created","issue":{"url":"https://api.github.com/repos/adamchainz/django-mysql/issues/278","repository_url":"https://api.github.com/repos/adamchainz/django-mysql","labels_url":"https://api.github.com/repos/adamchainz/django-mysql/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/adamchainz/django-mysql/issues/278/comments","events_url":"https://api.github.com/repos/adamchainz/django-mysql/issues/278/events","html_url":"https://github.com/adamchainz/django-mysql/pull/278","id":148711512,"number":278,"title":"Tests - add pytest-randomly","user":{"login":"adamchainz","id":857609,"avatar_url":"https://avatars2.githubusercontent.com/u/857609?v=4","gravatar_id":"","url":"https://api.github.com/users/adamchainz","html_url":"https://github.com/adamchainz","followers_url":"https://api.github.com/users/adamchainz/followers","following_url":"https://api.github.com/users/adamchainz/following{/other_user}","gists_url":"https://api.github.com/users/adamchainz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamchainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamchainz/subscriptions","organizations_url":"https://api.github.com/users/adamchainz/orgs","repos_url":"https://api.github.com/users/adamchainz/repos","events_url":"https://api.github.com/users/adamchainz/events{/privacy}","received_events_url":"https://api.github.com/users/adamchainz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-04-15T16:47:31Z","updated_at":"2018-04-15T20:52:18Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/adamchainz/django-mysql/pulls/278","html_url":"https://github.com/adamchainz/django-mysql/pull/278","diff_url":"https://github.com/adamchainz/django-mysql/pull/278.diff","patch_url":"https://github.com/adamchainz/django-mysql/pull/278.patch"},"body":"Everyone loves a little test randomization\n"},"comment":{"url":"https://api.github.com/repos/adamchainz/django-mysql/issues/comments/381437117","html_url":"https://github.com/adamchainz/django-mysql/pull/278#issuecomment-381437117","issue_url":"https://api.github.com/repos/adamchainz/django-mysql/issues/278","id":381437117,"user":{"login":"adamchainz","id":857609,"avatar_url":"https://avatars2.githubusercontent.com/u/857609?v=4","gravatar_id":"","url":"https://api.github.com/users/adamchainz","html_url":"https://github.com/adamchainz","followers_url":"https://api.github.com/users/adamchainz/followers","following_url":"https://api.github.com/users/adamchainz/following{/other_user}","gists_url":"https://api.github.com/users/adamchainz/gists{/gist_id}","starred_url":"https://api.github.com/users/adamchainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamchainz/subscriptions","organizations_url":"https://api.github.com/users/adamchainz/orgs","repos_url":"https://api.github.com/users/adamchainz/repos","events_url":"https://api.github.com/users/adamchainz/events{/privacy}","received_events_url":"https://api.github.com/users/adamchainz/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T20:52:18Z","updated_at":"2018-04-15T20:52:18Z","author_association":"OWNER","body":"So I don't think I can merge this right now as I'm seeing random failures on Travis that I can't reproduce locally, specifically:\r\n\r\n```\r\n=================================== FAILURES ===================================\r\n_____________________ TableLockTests.test_write_with_using _____________________\r\nself = <tests.testapp.test_locks.TableLockTests testMethod=test_write_with_using>\r\n    def test_write_with_using(self):\r\n        Alphabet.objects.using('other').create(a=878787)\r\n    \r\n        with TableLock(write=[Alphabet], using='other'):\r\n>           assert Alphabet.objects.using('other').count() == 1\r\nE           AssertionError: assert 2 == 1\r\nE            +  where 2 = <bound method QuerySet.count of [<Alphabet: Alphabet object>, <Alphabet: Alphabet object>]>()\r\nE            +    where <bound method QuerySet.count of [<Alphabet: Alphabet object>, <Alphabet: Alphabet object>]> = [<Alphabet: Alphabet object>, <Alphabet: Alphabet object>].count\r\nE            +      where [<Alphabet: Alphabet object>, <Alphabet: Alphabet object>] = <bound method ManagerFromQuerySet.using of <django.db.models.manager.ManagerFromQuerySet object at 0x7f115241e450>>('other')\r\nE            +        where <bound method ManagerFromQuerySet.using of <django.db.models.manager.ManagerFromQuerySet object at 0x7f115241e450>> = <django.db.models.manager.ManagerFromQuerySet object at 0x7f115241e450>.using\r\nE            +          where <django.db.models.manager.ManagerFromQuerySet object at 0x7f115241e450> = Alphabet.objects\r\ntests/testapp/test_locks.py:259: AssertionError\r\n\r\n```\r\n"}}
{"actor":{"display_login":"adamchainz"}}