{"action":"created","issue":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1478","repository_url":"https://api.github.com/repos/backdrop/backdrop-issues","labels_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1478/labels{/name}","comments_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1478/comments","events_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1478/events","html_url":"https://github.com/backdrop/backdrop-issues/issues/1478","id":124641226,"number":1478,"title":"Fix random test failures","user":{"login":"jenlampton","id":397895,"avatar_url":"https://avatars.githubusercontent.com/u/397895?v=3","gravatar_id":"","url":"https://api.github.com/users/jenlampton","html_url":"https://github.com/jenlampton","followers_url":"https://api.github.com/users/jenlampton/followers","following_url":"https://api.github.com/users/jenlampton/following{/other_user}","gists_url":"https://api.github.com/users/jenlampton/gists{/gist_id}","starred_url":"https://api.github.com/users/jenlampton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenlampton/subscriptions","organizations_url":"https://api.github.com/users/jenlampton/orgs","repos_url":"https://api.github.com/users/jenlampton/repos","events_url":"https://api.github.com/users/jenlampton/events{/privacy}","received_events_url":"https://api.github.com/users/jenlampton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/backdrop/backdrop-issues/labels/type%20-%20bug%20report","name":"type - bug report","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-03T10:10:46Z","updated_at":"2016-05-13T01:10:46Z","closed_at":null,"body":"There are several tests that fail randomly, usually only on the Travis CI infrastructure. Let's fix them, or replace them with others so that they don't do more harm than good.\r\n\r\n- [x] Image: Image style flood protection - https://github.com/backdrop/backdrop/pull/1201\r\n- [ ] Layout: Layout Interface Test\r\n- [x] Language settings file not valid JSON - Fixed in https://github.com/backdrop/backdrop-issues/issues/511\r\n- [x] Path: Path pattern basic tests - https://github.com/backdrop/backdrop/pull/1200\r\n- [x] User admin test case - https://github.com/backdrop/backdrop/pull/1200\r\n- [x] Module: Module API - https://github.com/backdrop/backdrop/pull/1200\r\n- [x] Bootstrap: Boot and exit hook invocation - https://github.com/backdrop/backdrop/pull/1200\r\n- [x] Bootstrap: Page cache test - https://github.com/backdrop/backdrop/pull/1200"},"comment":{"url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/comments/218927947","html_url":"https://github.com/backdrop/backdrop-issues/issues/1478#issuecomment-218927947","issue_url":"https://api.github.com/repos/backdrop/backdrop-issues/issues/1478","id":218927947,"user":{"login":"quicksketch","id":100206,"avatar_url":"https://avatars.githubusercontent.com/u/100206?v=3","gravatar_id":"","url":"https://api.github.com/users/quicksketch","html_url":"https://github.com/quicksketch","followers_url":"https://api.github.com/users/quicksketch/followers","following_url":"https://api.github.com/users/quicksketch/following{/other_user}","gists_url":"https://api.github.com/users/quicksketch/gists{/gist_id}","starred_url":"https://api.github.com/users/quicksketch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quicksketch/subscriptions","organizations_url":"https://api.github.com/users/quicksketch/orgs","repos_url":"https://api.github.com/users/quicksketch/repos","events_url":"https://api.github.com/users/quicksketch/events{/privacy}","received_events_url":"https://api.github.com/users/quicksketch/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T01:10:46Z","updated_at":"2016-05-13T01:10:46Z","body":"We're still getting a lot of failing page cache tests:\r\n\r\n```\r\n---- Bootstrap: Page cache test (BootstrapPageCacheTestCase) ----\r\nStatus    Group      Filename          Line Function                            \r\n--------------------------------------------------------------------------------\r\n\r\nFail      Other      bootstrap.test     204 BootstrapPageCacheTestCase->testPag\r\n    Cached page request.\r\n````\r\n\r\nI think this might have to do with the background fetch functionality and our use of `sleep()` to try and wait long enough, but that is not guaranteed, especially with the slower Travis CI servers. I filed a new PR at https://github.com/backdrop/backdrop/issues/1367."}}