{"action":"created","issue":{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1216","repository_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin","labels_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1216/labels{/name}","comments_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1216/comments","events_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1216/events","html_url":"https://github.com/thaliproject/Thali_CordovaPlugin/pull/1216","id":180080774,"number":1216,"title":"#1165 Possible workaround","user":{"login":"artemjackson","id":3768221,"avatar_url":"https://avatars.githubusercontent.com/u/3768221?v=3","gravatar_id":"","url":"https://api.github.com/users/artemjackson","html_url":"https://github.com/artemjackson","followers_url":"https://api.github.com/users/artemjackson/followers","following_url":"https://api.github.com/users/artemjackson/following{/other_user}","gists_url":"https://api.github.com/users/artemjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/artemjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemjackson/subscriptions","organizations_url":"https://api.github.com/users/artemjackson/orgs","repos_url":"https://api.github.com/users/artemjackson/repos","events_url":"https://api.github.com/users/artemjackson/events{/privacy}","received_events_url":"https://api.github.com/users/artemjackson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/labels/3%20-%20Working","name":"3 - Working","color":"CCCCCC"},{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/labels/cla-already-signed","name":"cla-already-signed","color":"009800"},{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"andrew-aladev","id":941925,"avatar_url":"https://avatars.githubusercontent.com/u/941925?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew-aladev","html_url":"https://github.com/andrew-aladev","followers_url":"https://api.github.com/users/andrew-aladev/followers","following_url":"https://api.github.com/users/andrew-aladev/following{/other_user}","gists_url":"https://api.github.com/users/andrew-aladev/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-aladev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-aladev/subscriptions","organizations_url":"https://api.github.com/users/andrew-aladev/orgs","repos_url":"https://api.github.com/users/andrew-aladev/repos","events_url":"https://api.github.com/users/andrew-aladev/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-aladev/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrew-aladev","id":941925,"avatar_url":"https://avatars.githubusercontent.com/u/941925?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew-aladev","html_url":"https://github.com/andrew-aladev","followers_url":"https://api.github.com/users/andrew-aladev/followers","following_url":"https://api.github.com/users/andrew-aladev/following{/other_user}","gists_url":"https://api.github.com/users/andrew-aladev/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-aladev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-aladev/subscriptions","organizations_url":"https://api.github.com/users/andrew-aladev/orgs","repos_url":"https://api.github.com/users/andrew-aladev/repos","events_url":"https://api.github.com/users/andrew-aladev/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-aladev/received_events","type":"User","site_admin":false},{"login":"yaronyg","id":1480964,"avatar_url":"https://avatars.githubusercontent.com/u/1480964?v=3","gravatar_id":"","url":"https://api.github.com/users/yaronyg","html_url":"https://github.com/yaronyg","followers_url":"https://api.github.com/users/yaronyg/followers","following_url":"https://api.github.com/users/yaronyg/following{/other_user}","gists_url":"https://api.github.com/users/yaronyg/gists{/gist_id}","starred_url":"https://api.github.com/users/yaronyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaronyg/subscriptions","organizations_url":"https://api.github.com/users/yaronyg/orgs","repos_url":"https://api.github.com/users/yaronyg/repos","events_url":"https://api.github.com/users/yaronyg/events{/privacy}","received_events_url":"https://api.github.com/users/yaronyg/received_events","type":"User","site_admin":false},{"login":"artemjackson","id":3768221,"avatar_url":"https://avatars.githubusercontent.com/u/3768221?v=3","gravatar_id":"","url":"https://api.github.com/users/artemjackson","html_url":"https://github.com/artemjackson","followers_url":"https://api.github.com/users/artemjackson/followers","following_url":"https://api.github.com/users/artemjackson/following{/other_user}","gists_url":"https://api.github.com/users/artemjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/artemjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemjackson/subscriptions","organizations_url":"https://api.github.com/users/artemjackson/orgs","repos_url":"https://api.github.com/users/artemjackson/repos","events_url":"https://api.github.com/users/artemjackson/events{/privacy}","received_events_url":"https://api.github.com/users/artemjackson/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/milestones/9","html_url":"https://github.com/thaliproject/Thali_CordovaPlugin/milestones/Android%20-%20WiFi%20Only","labels_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/milestones/9/labels","id":2035622,"number":9,"title":"Android - WiFi Only","description":"","creator":{"login":"yaronyg","id":1480964,"avatar_url":"https://avatars.githubusercontent.com/u/1480964?v=3","gravatar_id":"","url":"https://api.github.com/users/yaronyg","html_url":"https://github.com/yaronyg","followers_url":"https://api.github.com/users/yaronyg/followers","following_url":"https://api.github.com/users/yaronyg/following{/other_user}","gists_url":"https://api.github.com/users/yaronyg/gists{/gist_id}","starred_url":"https://api.github.com/users/yaronyg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaronyg/subscriptions","organizations_url":"https://api.github.com/users/yaronyg/orgs","repos_url":"https://api.github.com/users/yaronyg/repos","events_url":"https://api.github.com/users/yaronyg/events{/privacy}","received_events_url":"https://api.github.com/users/yaronyg/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":0,"state":"open","created_at":"2016-09-28T18:14:40Z","updated_at":"2016-09-29T15:23:29Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-09-29T15:23:29Z","updated_at":"2016-09-29T16:25:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/pulls/1216","html_url":"https://github.com/thaliproject/Thali_CordovaPlugin/pull/1216","diff_url":"https://github.com/thaliproject/Thali_CordovaPlugin/pull/1216.diff","patch_url":"https://github.com/thaliproject/Thali_CordovaPlugin/pull/1216.patch"},"body":"We faced with the issue #1165 because sometimes somehow `self._updateOnExpiration` got **negative** `milliSecondsUntilNextRefresh`. So `self._updateOnExpiration` wont reset `beaconRefreshTimerManager` and we get the  `AssertionError`.\r\n\r\nAt least the tests with this workaround pass on 10 local instances 5 times.\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/thaliproject/thali_cordovaplugin/1216)\r\n<!-- Reviewable:end -->"},"comment":{"url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/comments/250517973","html_url":"https://github.com/thaliproject/Thali_CordovaPlugin/pull/1216#issuecomment-250517973","issue_url":"https://api.github.com/repos/thaliproject/Thali_CordovaPlugin/issues/1216","id":250517973,"user":{"login":"artemjackson","id":3768221,"avatar_url":"https://avatars.githubusercontent.com/u/3768221?v=3","gravatar_id":"","url":"https://api.github.com/users/artemjackson","html_url":"https://github.com/artemjackson","followers_url":"https://api.github.com/users/artemjackson/followers","following_url":"https://api.github.com/users/artemjackson/following{/other_user}","gists_url":"https://api.github.com/users/artemjackson/gists{/gist_id}","starred_url":"https://api.github.com/users/artemjackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemjackson/subscriptions","organizations_url":"https://api.github.com/users/artemjackson/orgs","repos_url":"https://api.github.com/users/artemjackson/repos","events_url":"https://api.github.com/users/artemjackson/events{/privacy}","received_events_url":"https://api.github.com/users/artemjackson/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T16:25:14Z","updated_at":"2016-09-29T16:25:14Z","body":"@andrew-aladev @yaronyg Unfortunately tests were not passed :(\r\nThe workaround didn't succeed \r\nWe need to investigate more"}}
{"actor":{"display_login":"artemjackson"}}