{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7934","labels_url":"https://api.github.com/repos/apache/spark/issues/7934/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7934/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7934/events","html_url":"https://github.com/apache/spark/pull/7934","id":99006085,"number":7934,"title":"[SPARK-9504][Streaming][Tests]Fix o.a.s.streaming.StreamingContextSuite.stop gracefully again","user":{"login":"zsxwing","id":1000778,"avatar_url":"https://avatars.githubusercontent.com/u/1000778?v=3","gravatar_id":"","url":"https://api.github.com/users/zsxwing","html_url":"https://github.com/zsxwing","followers_url":"https://api.github.com/users/zsxwing/followers","following_url":"https://api.github.com/users/zsxwing/following{/other_user}","gists_url":"https://api.github.com/users/zsxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zsxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsxwing/subscriptions","organizations_url":"https://api.github.com/users/zsxwing/orgs","repos_url":"https://api.github.com/users/zsxwing/repos","events_url":"https://api.github.com/users/zsxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zsxwing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-04T16:20:42Z","updated_at":"2015-08-04T23:52:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7934","html_url":"https://github.com/apache/spark/pull/7934","diff_url":"https://github.com/apache/spark/pull/7934.diff","patch_url":"https://github.com/apache/spark/pull/7934.patch"},"body":"The test failure is here: https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-SBT/3150/AMPLAB_JENKINS_BUILD_PROFILE=hadoop1.0,label=centos/testReport/junit/org.apache.spark.streaming/StreamingContextSuite/stop_gracefully/\r\n\r\nThere is a race condition in TestReceiver that it may add 1 record and increase `TestReceiver.counter` after stopping `BlockGenerator`. This PR just adds `join` to wait the pushing thread."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/127798919","html_url":"https://github.com/apache/spark/pull/7934#issuecomment-127798919","issue_url":"https://api.github.com/repos/apache/spark/issues/7934","id":127798919,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T23:52:43Z","updated_at":"2015-08-04T23:52:43Z","body":" Merged build triggered."}}