{"action":"opened","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/issues/98","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/issues/98/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/issues/98/events","html_url":"https://github.com/elasticsearch/elasticsearch-river-twitter/issues/98","id":57144056,"number":98,"title":"[Test] Tweet for user stream sent too early","user":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/labels/2.4.2","name":"2.4.2","color":"0052cc"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/labels/test","name":"test","color":"5319e7"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/labels/update","name":"update","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/milestones/13","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch-river-twitter/milestones/13/labels","id":951289,"number":13,"title":"2.4.2","description":"Maintenance release","creator":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":8,"state":"open","created_at":"2015-01-26T13:08:06Z","updated_at":"2015-02-10T08:24:46Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-02-10T08:24:46Z","updated_at":"2015-02-10T08:24:46Z","closed_at":null,"body":"When running tests, it could happen that the Tweet sent for user stream test is sent before the river is actually created.\r\n\r\nWe should send it later.\r\n\r\nLogs:\r\n\r\n```\r\n2015-02-10 01:41:02,002 INFO  -   -> Wait for some docs\r\n  1> 2015-02-10 01:41:02,020 INFO  -   -> got 0 docs in test_user_stream index\r\n  1> 2015-02-10 01:41:03,524 INFO  - [node_s0] [_river] update_mapping [test_user_stream] (dynamic)\r\n  1> 2015-02-10 01:41:17,262 INFO  -   -> tweet [564947174048677888] sent: [testing twitter river. Please ignore. 2015-02-10T01:41:17.036+01:00]\r\n  1> 2015-02-10 01:41:21,400 INFO  -   -> got 0 docs in test_user_stream index\r\n  ... skipped ...\r\n  1> 2015-02-10 01:41:22,108 INFO  - [node_s1] [twitter][test_user_stream] creating twitter stream river\r\n  1> 2015-02-10 01:41:22,118 INFO  - [node_s0] [test_user_stream] create_mapping [status]\r\n  1> 2015-02-10 01:41:22,485 INFO  - [node_s1] [twitter][test_user_stream] starting user twitter stream\r\n  1> 2015-02-10 01:41:22,487 INFO  - Establishing connection.\r\n  1> 2015-02-10 01:41:22,515 INFO  - [node_s0] [_river] update_mapping [test_user_stream] (dynamic)\r\n  1> 2015-02-10 01:41:23,257 INFO  - Connection established.\r\n  1> 2015-02-10 01:41:23,258 INFO  - Receiving status stream.\r\n```"}}