{"action":"created","issue":{"url":"https://api.github.com/repos/awesomeWM/awesome/issues/375","labels_url":"https://api.github.com/repos/awesomeWM/awesome/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/awesomeWM/awesome/issues/375/comments","events_url":"https://api.github.com/repos/awesomeWM/awesome/issues/375/events","html_url":"https://github.com/awesomeWM/awesome/pull/375","id":98008217,"number":375,"title":"Fix sporadic test failure due to lgi","user":{"login":"psychon","id":89482,"avatar_url":"https://avatars.githubusercontent.com/u/89482?v=3","gravatar_id":"","url":"https://api.github.com/users/psychon","html_url":"https://github.com/psychon","followers_url":"https://api.github.com/users/psychon/followers","following_url":"https://api.github.com/users/psychon/following{/other_user}","gists_url":"https://api.github.com/users/psychon/gists{/gist_id}","starred_url":"https://api.github.com/users/psychon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psychon/subscriptions","organizations_url":"https://api.github.com/users/psychon/orgs","repos_url":"https://api.github.com/users/psychon/repos","events_url":"https://api.github.com/users/psychon/events{/privacy}","received_events_url":"https://api.github.com/users/psychon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T19:11:14Z","updated_at":"2015-07-29T19:21:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/awesomeWM/awesome/pulls/375","html_url":"https://github.com/awesomeWM/awesome/pull/375","diff_url":"https://github.com/awesomeWM/awesome/pull/375.diff","patch_url":"https://github.com/awesomeWM/awesome/pull/375.patch"},"body":"With version 2.0rc5, Busted started cleaning up between tests more thoroughly.\r\nThe result was that it managed to unload and reload lgi. However, the C part of\r\nlgi is not safe to be reloaded. This caused sporadic errors in the test suite\r\nruns.\r\n\r\nWork around this via a helper script that is run before Busted starts running\r\ntests. When we load lgi in this helper script, it is loaded before Busted starts\r\nsaving and restoring everything and thus lgi won't ever be unloaded.\r\n\r\nSigned-off-by: Uli Schlachter <psychon@znc.in>\r\n\r\n@blueyed Could you test this patch some hundred times and see if this really fixes our problems?"},"comment":{"url":"https://api.github.com/repos/awesomeWM/awesome/issues/comments/126066227","html_url":"https://github.com/awesomeWM/awesome/pull/375#issuecomment-126066227","issue_url":"https://api.github.com/repos/awesomeWM/awesome/issues/375","id":126066227,"user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T19:21:52Z","updated_at":"2015-07-29T19:21:52Z","body":":+1: "}}