{"action":"created","issue":{"url":"https://api.github.com/repos/nyaruka/rapidpro/issues/324","labels_url":"https://api.github.com/repos/nyaruka/rapidpro/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/nyaruka/rapidpro/issues/324/comments","events_url":"https://api.github.com/repos/nyaruka/rapidpro/issues/324/events","html_url":"https://github.com/nyaruka/rapidpro/pull/324","id":106869053,"number":324,"title":"Speed up test failure cycle","user":{"login":"ericnewcomer","id":211652,"avatar_url":"https://avatars.githubusercontent.com/u/211652?v=3","gravatar_id":"","url":"https://api.github.com/users/ericnewcomer","html_url":"https://github.com/ericnewcomer","followers_url":"https://api.github.com/users/ericnewcomer/followers","following_url":"https://api.github.com/users/ericnewcomer/following{/other_user}","gists_url":"https://api.github.com/users/ericnewcomer/gists{/gist_id}","starred_url":"https://api.github.com/users/ericnewcomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericnewcomer/subscriptions","organizations_url":"https://api.github.com/users/ericnewcomer/orgs","repos_url":"https://api.github.com/users/ericnewcomer/repos","events_url":"https://api.github.com/users/ericnewcomer/events{/privacy}","received_events_url":"https://api.github.com/users/ericnewcomer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T21:36:19Z","updated_at":"2015-09-16T21:51:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nyaruka/rapidpro/pulls/324","html_url":"https://github.com/nyaruka/rapidpro/pull/324","diff_url":"https://github.com/nyaruka/rapidpro/pull/324.diff","patch_url":"https://github.com/nyaruka/rapidpro/pull/324.patch"},"body":"Two changes here:\r\n\r\n1) Add our PERMISSIONS_APP for smartmin. Not sure how this wasn't there before, but this will speed up the permission check 10-fold.\r\n\r\n2) Allow local test runs to skip the migrations (instead relying on current model state of the world like old syncdb used to). The test suite still runs all migrations. Since this is only needed until Django 1.8, I just piggy-backed on the --failfast command for nose.\r\n\r\nWith both of these changes, my single test run went from 3:30 to 0:14, so ~16x faster."},"comment":{"url":"https://api.github.com/repos/nyaruka/rapidpro/issues/comments/140904782","html_url":"https://github.com/nyaruka/rapidpro/pull/324#issuecomment-140904782","issue_url":"https://api.github.com/repos/nyaruka/rapidpro/issues/324","id":140904782,"user":{"login":"norkans7","id":1040571,"avatar_url":"https://avatars.githubusercontent.com/u/1040571?v=3","gravatar_id":"","url":"https://api.github.com/users/norkans7","html_url":"https://github.com/norkans7","followers_url":"https://api.github.com/users/norkans7/followers","following_url":"https://api.github.com/users/norkans7/following{/other_user}","gists_url":"https://api.github.com/users/norkans7/gists{/gist_id}","starred_url":"https://api.github.com/users/norkans7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norkans7/subscriptions","organizations_url":"https://api.github.com/users/norkans7/orgs","repos_url":"https://api.github.com/users/norkans7/repos","events_url":"https://api.github.com/users/norkans7/events{/privacy}","received_events_url":"https://api.github.com/users/norkans7/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T21:51:42Z","updated_at":"2015-09-16T21:51:42Z","body":"Great :)"}}