{"action":"created","issue":{"url":"https://api.github.com/repos/juttle/juttle/issues/182","labels_url":"https://api.github.com/repos/juttle/juttle/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/juttle/juttle/issues/182/comments","events_url":"https://api.github.com/repos/juttle/juttle/issues/182/events","html_url":"https://github.com/juttle/juttle/pull/182","id":126681855,"number":182,"title":"test: tweak test to be more resilient to timing","user":{"login":"demmer","id":3308504,"avatar_url":"https://avatars.githubusercontent.com/u/3308504?v=3","gravatar_id":"","url":"https://api.github.com/users/demmer","html_url":"https://github.com/demmer","followers_url":"https://api.github.com/users/demmer/followers","following_url":"https://api.github.com/users/demmer/following{/other_user}","gists_url":"https://api.github.com/users/demmer/gists{/gist_id}","starred_url":"https://api.github.com/users/demmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demmer/subscriptions","organizations_url":"https://api.github.com/users/demmer/orgs","repos_url":"https://api.github.com/users/demmer/repos","events_url":"https://api.github.com/users/demmer/events{/privacy}","received_events_url":"https://api.github.com/users/demmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/juttle/juttle/labels/in%20progress","name":"in progress","color":"ffa500"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T15:47:18Z","updated_at":"2016-01-14T16:17:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juttle/juttle/pulls/182","html_url":"https://github.com/juttle/juttle/pull/182","diff_url":"https://github.com/juttle/juttle/pull/182.diff","patch_url":"https://github.com/juttle/juttle/pull/182.patch"},"body":"Previously the test could fail if :now: ended up aligned exactly on\r\na second boundary since the emitter would not send out the same\r\nnumber of points as it did when :now: was not an exact second.\r\n\r\nChange the test so that both start and end are quantized to the even\r\nsecond so this isn't a problem.\r\n\r\nFixes #181 "},"comment":{"url":"https://api.github.com/repos/juttle/juttle/issues/comments/171687207","html_url":"https://github.com/juttle/juttle/pull/182#issuecomment-171687207","issue_url":"https://api.github.com/repos/juttle/juttle/issues/182","id":171687207,"user":{"login":"dmajda","id":18821,"avatar_url":"https://avatars.githubusercontent.com/u/18821?v=3","gravatar_id":"","url":"https://api.github.com/users/dmajda","html_url":"https://github.com/dmajda","followers_url":"https://api.github.com/users/dmajda/followers","following_url":"https://api.github.com/users/dmajda/following{/other_user}","gists_url":"https://api.github.com/users/dmajda/gists{/gist_id}","starred_url":"https://api.github.com/users/dmajda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmajda/subscriptions","organizations_url":"https://api.github.com/users/dmajda/orgs","repos_url":"https://api.github.com/users/dmajda/repos","events_url":"https://api.github.com/users/dmajda/events{/privacy}","received_events_url":"https://api.github.com/users/dmajda/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T16:17:09Z","updated_at":"2016-01-14T16:17:09Z","body":"I think it makes sense to also harden the test below which is prone to the same issue. Beside that, +1."}}