{"action":"opened","issue":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/951","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/951/labels{/name}","comments_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/951/comments","events_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/951/events","html_url":"https://github.com/rails-api/active_model_serializers/issues/951","id":87480799,"number":951,"title":"Render using explicit each serializer test failing sometimes","user":{"login":"edwardloveall","id":49549,"avatar_url":"https://avatars.githubusercontent.com/u/49549?v=3","gravatar_id":"","url":"https://api.github.com/users/edwardloveall","html_url":"https://github.com/edwardloveall","followers_url":"https://api.github.com/users/edwardloveall/followers","following_url":"https://api.github.com/users/edwardloveall/following{/other_user}","gists_url":"https://api.github.com/users/edwardloveall/gists{/gist_id}","starred_url":"https://api.github.com/users/edwardloveall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwardloveall/subscriptions","organizations_url":"https://api.github.com/users/edwardloveall/orgs","repos_url":"https://api.github.com/users/edwardloveall/repos","events_url":"https://api.github.com/users/edwardloveall/events{/privacy}","received_events_url":"https://api.github.com/users/edwardloveall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-11T20:10:55Z","updated_at":"2015-06-11T20:10:55Z","closed_at":null,"body":"The test added [here](https://github.com/rails-api/active_model_serializers/pull/949/files) is often failing (about 50% of the time). My thought is that it has something to do with all the instance variables in many other tests. This is a common error to receive:\r\n\r\n```diff\r\n--- expected\r\n+++ actual\r\n@@ -1 +1 @@\r\n-\"{\\\"id\\\":1,\\\"title\\\":\\\"New Post\\\",\\\"body\\\":\\\"Body\\\",\\\"comments\\\":[{\\\"id\\\":1,\\\"body\\\":\\\"ZOMG A COMMENT\\\"}],\\\"blog\\\":{\\\"id\\\":999,\\\"name\\\":\\\"Custom blog\\\"},\\\"author\\\":{\\\"id\\\":1,\\\"name\\\":\\\"Joao Moura.\\\"}}\"\r\n+\"{\\\"id\\\":\\\"1\\\",\\\"type\\\":\\\"posts\\\",\\\"attributes\\\":{\\\"title\\\":\\\"New Post\\\",\\\"body\\\":\\\"Body\\\"},\\\"comments\\\":[{\\\"id\\\":1,\\\"body\\\":\\\"ZOMG A COMMENT\\\"}],\\\"blog\\\":{\\\"id\\\":999,\\\"name\\\":\\\"Custom blog\\\"},\\\"author\\\":{\\\"id\\\":1,\\\"name\\\":\\\"Joao Moura.\\\"}}\"\r\n```\r\n\r\nAnd this one:\r\n\r\n```diff\r\n--- expected\r\n+++ actual\r\n@@ -1 +1 @@\r\n-\"{\\\"id\\\":1,\\\"title\\\":\\\"New Post\\\",\\\"body\\\":\\\"Body\\\",\\\"comments\\\":[{\\\"id\\\":1,\\\"body\\\":\\\"ZOMG A COMMENT\\\"}],\\\"blog\\\":{\\\"id\\\":999,\\\"name\\\":\\\"Custom blog\\\"},\\\"author\\\":{\\\"id\\\":1,\\\"name\\\":\\\"Joao Moura.\\\"}}\"\r\n+\"{\\\"id\\\":1,\\\"title\\\":\\\"New Post\\\",\\\"body\\\":\\\"Body\\\",\\\"comments\\\":[{\\\"id\\\":1,\\\"body\\\":\\\"ZOMG A COMMENT\\\"}],\\\"blog\\\":{\\\"id\\\":999,\\\"name\\\":\\\"Custom blog\\\"},\\\"author\\\":{\\\"id\\\":1,\\\"name\\\":\\\"Steve K.\\\"}}\"\r\n```\r\n\r\nIt's been very difficult to track down this error so far. It's repeatable if I use the seed `5975`:\r\n\r\n```\r\nrake TESTOPTS='--seed=5975'\r\n```"}}