{"action":"opened","number":505,"pull_request":{"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/505","id":73774366,"html_url":"https://github.com/spark-jobserver/spark-jobserver/pull/505","diff_url":"https://github.com/spark-jobserver/spark-jobserver/pull/505.diff","patch_url":"https://github.com/spark-jobserver/spark-jobserver/pull/505.patch","issue_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/505","number":505,"state":"open","locked":false,"title":"flaky-tests:","user":{"login":"TimMaltGermany","id":7852234,"avatar_url":"https://avatars.githubusercontent.com/u/7852234?v=3","gravatar_id":"","url":"https://api.github.com/users/TimMaltGermany","html_url":"https://github.com/TimMaltGermany","followers_url":"https://api.github.com/users/TimMaltGermany/followers","following_url":"https://api.github.com/users/TimMaltGermany/following{/other_user}","gists_url":"https://api.github.com/users/TimMaltGermany/gists{/gist_id}","starred_url":"https://api.github.com/users/TimMaltGermany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimMaltGermany/subscriptions","organizations_url":"https://api.github.com/users/TimMaltGermany/orgs","repos_url":"https://api.github.com/users/TimMaltGermany/repos","events_url":"https://api.github.com/users/TimMaltGermany/events{/privacy}","received_events_url":"https://api.github.com/users/TimMaltGermany/received_events","type":"User","site_admin":false},"body":"Fixes for flaky tests reported by @hntd187 and others. \r\n\r\n1. Timeout test in WebApiWithAuthenticationSpec uses a TimeoutException to ensure that an Exception is always thrown.\r\n\r\n2.  NamedObjectsSpec only creates its SparkContext when run and only once.\r\n\r\n3. NamedObjectsTestJob sleeps 1 ms so that other threads can do their work and release the job resources.\r\n\r\n4. HiveContextFactory in HiveJobSpec needs to stop the SparkContext if it fails to create the Hive context. We might want to add this check to 'spark.jobserver.HiveContextFactory' as well, just in case.\r\n\r\n5. JobSpecBaseBase.afterAll uses TestKit.shutdownActorSystem(system) instead of the ooyala version. It also only shuts down the manager in afterAll (as opposed to after each method).\r\n","created_at":"2016-06-14T16:45:45Z","updated_at":"2016-06-14T16:45:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e2493b1de300cfcb25947055c4e443e1f6ae0ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/505/commits","review_comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/505/comments","review_comment_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/505/comments","statuses_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/statuses/c7cac282a83ebb7a682b2ef2645434f2507e01c7","head":{"label":"koettert:flaky-tests","ref":"flaky-tests","sha":"c7cac282a83ebb7a682b2ef2645434f2507e01c7","user":{"login":"koettert","id":11409922,"avatar_url":"https://avatars.githubusercontent.com/u/11409922?v=3","gravatar_id":"","url":"https://api.github.com/users/koettert","html_url":"https://github.com/koettert","followers_url":"https://api.github.com/users/koettert/followers","following_url":"https://api.github.com/users/koettert/following{/other_user}","gists_url":"https://api.github.com/users/koettert/gists{/gist_id}","starred_url":"https://api.github.com/users/koettert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koettert/subscriptions","organizations_url":"https://api.github.com/users/koettert/orgs","repos_url":"https://api.github.com/users/koettert/repos","events_url":"https://api.github.com/users/koettert/events{/privacy}","received_events_url":"https://api.github.com/users/koettert/received_events","type":"User","site_admin":false},"repo":{"id":41287905,"name":"spark-jobserver","full_name":"koettert/spark-jobserver","owner":{"login":"koettert","id":11409922,"avatar_url":"https://avatars.githubusercontent.com/u/11409922?v=3","gravatar_id":"","url":"https://api.github.com/users/koettert","html_url":"https://github.com/koettert","followers_url":"https://api.github.com/users/koettert/followers","following_url":"https://api.github.com/users/koettert/following{/other_user}","gists_url":"https://api.github.com/users/koettert/gists{/gist_id}","starred_url":"https://api.github.com/users/koettert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koettert/subscriptions","organizations_url":"https://api.github.com/users/koettert/orgs","repos_url":"https://api.github.com/users/koettert/repos","events_url":"https://api.github.com/users/koettert/events{/privacy}","received_events_url":"https://api.github.com/users/koettert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/koettert/spark-jobserver","description":"REST job server for Apache Spark","fork":true,"url":"https://api.github.com/repos/koettert/spark-jobserver","forks_url":"https://api.github.com/repos/koettert/spark-jobserver/forks","keys_url":"https://api.github.com/repos/koettert/spark-jobserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koettert/spark-jobserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koettert/spark-jobserver/teams","hooks_url":"https://api.github.com/repos/koettert/spark-jobserver/hooks","issue_events_url":"https://api.github.com/repos/koettert/spark-jobserver/issues/events{/number}","events_url":"https://api.github.com/repos/koettert/spark-jobserver/events","assignees_url":"https://api.github.com/repos/koettert/spark-jobserver/assignees{/user}","branches_url":"https://api.github.com/repos/koettert/spark-jobserver/branches{/branch}","tags_url":"https://api.github.com/repos/koettert/spark-jobserver/tags","blobs_url":"https://api.github.com/repos/koettert/spark-jobserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koettert/spark-jobserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koettert/spark-jobserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/koettert/spark-jobserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koettert/spark-jobserver/statuses/{sha}","languages_url":"https://api.github.com/repos/koettert/spark-jobserver/languages","stargazers_url":"https://api.github.com/repos/koettert/spark-jobserver/stargazers","contributors_url":"https://api.github.com/repos/koettert/spark-jobserver/contributors","subscribers_url":"https://api.github.com/repos/koettert/spark-jobserver/subscribers","subscription_url":"https://api.github.com/repos/koettert/spark-jobserver/subscription","commits_url":"https://api.github.com/repos/koettert/spark-jobserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/koettert/spark-jobserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/koettert/spark-jobserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/koettert/spark-jobserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/koettert/spark-jobserver/contents/{+path}","compare_url":"https://api.github.com/repos/koettert/spark-jobserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koettert/spark-jobserver/merges","archive_url":"https://api.github.com/repos/koettert/spark-jobserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koettert/spark-jobserver/downloads","issues_url":"https://api.github.com/repos/koettert/spark-jobserver/issues{/number}","pulls_url":"https://api.github.com/repos/koettert/spark-jobserver/pulls{/number}","milestones_url":"https://api.github.com/repos/koettert/spark-jobserver/milestones{/number}","notifications_url":"https://api.github.com/repos/koettert/spark-jobserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koettert/spark-jobserver/labels{/name}","releases_url":"https://api.github.com/repos/koettert/spark-jobserver/releases{/id}","deployments_url":"https://api.github.com/repos/koettert/spark-jobserver/deployments","created_at":"2015-08-24T07:08:17Z","updated_at":"2016-02-14T12:18:19Z","pushed_at":"2016-06-14T16:35:12Z","git_url":"git://github.com/koettert/spark-jobserver.git","ssh_url":"git@github.com:koettert/spark-jobserver.git","clone_url":"https://github.com/koettert/spark-jobserver.git","svn_url":"https://github.com/koettert/spark-jobserver","homepage":"","size":1506,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spark-jobserver:master","ref":"master","sha":"06d8239527e1c6c3b7986e2984290c1e2b07ffc0","user":{"login":"spark-jobserver","id":8494302,"avatar_url":"https://avatars.githubusercontent.com/u/8494302?v=3","gravatar_id":"","url":"https://api.github.com/users/spark-jobserver","html_url":"https://github.com/spark-jobserver","followers_url":"https://api.github.com/users/spark-jobserver/followers","following_url":"https://api.github.com/users/spark-jobserver/following{/other_user}","gists_url":"https://api.github.com/users/spark-jobserver/gists{/gist_id}","starred_url":"https://api.github.com/users/spark-jobserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark-jobserver/subscriptions","organizations_url":"https://api.github.com/users/spark-jobserver/orgs","repos_url":"https://api.github.com/users/spark-jobserver/repos","events_url":"https://api.github.com/users/spark-jobserver/events{/privacy}","received_events_url":"https://api.github.com/users/spark-jobserver/received_events","type":"Organization","site_admin":false},"repo":{"id":23205911,"name":"spark-jobserver","full_name":"spark-jobserver/spark-jobserver","owner":{"login":"spark-jobserver","id":8494302,"avatar_url":"https://avatars.githubusercontent.com/u/8494302?v=3","gravatar_id":"","url":"https://api.github.com/users/spark-jobserver","html_url":"https://github.com/spark-jobserver","followers_url":"https://api.github.com/users/spark-jobserver/followers","following_url":"https://api.github.com/users/spark-jobserver/following{/other_user}","gists_url":"https://api.github.com/users/spark-jobserver/gists{/gist_id}","starred_url":"https://api.github.com/users/spark-jobserver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark-jobserver/subscriptions","organizations_url":"https://api.github.com/users/spark-jobserver/orgs","repos_url":"https://api.github.com/users/spark-jobserver/repos","events_url":"https://api.github.com/users/spark-jobserver/events{/privacy}","received_events_url":"https://api.github.com/users/spark-jobserver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spark-jobserver/spark-jobserver","description":"REST job server for Apache Spark","fork":false,"url":"https://api.github.com/repos/spark-jobserver/spark-jobserver","forks_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/forks","keys_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/teams","hooks_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/hooks","issue_events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/events{/number}","events_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/events","assignees_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/assignees{/user}","branches_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/branches{/branch}","tags_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/tags","blobs_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/statuses/{sha}","languages_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/languages","stargazers_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/stargazers","contributors_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/contributors","subscribers_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/subscribers","subscription_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/subscription","commits_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/contents/{+path}","compare_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/merges","archive_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/downloads","issues_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues{/number}","pulls_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls{/number}","milestones_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/milestones{/number}","notifications_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/labels{/name}","releases_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/releases{/id}","deployments_url":"https://api.github.com/repos/spark-jobserver/spark-jobserver/deployments","created_at":"2014-08-21T23:07:47Z","updated_at":"2016-06-14T13:24:32Z","pushed_at":"2016-06-14T16:45:45Z","git_url":"git://github.com/spark-jobserver/spark-jobserver.git","ssh_url":"git@github.com:spark-jobserver/spark-jobserver.git","clone_url":"https://github.com/spark-jobserver/spark-jobserver.git","svn_url":"https://github.com/spark-jobserver/spark-jobserver","homepage":"","size":4975,"stargazers_count":1078,"watchers_count":1078,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":436,"mirror_url":null,"open_issues_count":75,"forks":436,"open_issues":75,"watchers":1078,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/505"},"html":{"href":"https://github.com/spark-jobserver/spark-jobserver/pull/505"},"issue":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/505"},"comments":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/issues/505/comments"},"review_comments":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/505/comments"},"review_comment":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/pulls/505/commits"},"statuses":{"href":"https://api.github.com/repos/spark-jobserver/spark-jobserver/statuses/c7cac282a83ebb7a682b2ef2645434f2507e01c7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":92,"deletions":61,"changed_files":10}}
{"actor":{"display_login":"TimMaltGermany"}}