{"action":"created","issue":{"url":"https://api.github.com/repos/caskdata/cdap/issues/5793","repository_url":"https://api.github.com/repos/caskdata/cdap","labels_url":"https://api.github.com/repos/caskdata/cdap/issues/5793/labels{/name}","comments_url":"https://api.github.com/repos/caskdata/cdap/issues/5793/comments","events_url":"https://api.github.com/repos/caskdata/cdap/issues/5793/events","html_url":"https://github.com/caskdata/cdap/pull/5793","id":155140059,"number":5793,"title":"Varioues unit-test improvements to speedup tests","user":{"login":"chtyim","id":885032,"avatar_url":"https://avatars.githubusercontent.com/u/885032?v=3","gravatar_id":"","url":"https://api.github.com/users/chtyim","html_url":"https://github.com/chtyim","followers_url":"https://api.github.com/users/chtyim/followers","following_url":"https://api.github.com/users/chtyim/following{/other_user}","gists_url":"https://api.github.com/users/chtyim/gists{/gist_id}","starred_url":"https://api.github.com/users/chtyim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtyim/subscriptions","organizations_url":"https://api.github.com/users/chtyim/orgs","repos_url":"https://api.github.com/users/chtyim/repos","events_url":"https://api.github.com/users/chtyim/events{/privacy}","received_events_url":"https://api.github.com/users/chtyim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caskdata/cdap/labels/3.5","name":"3.5","color":"ff6600"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T22:50:55Z","updated_at":"2016-05-17T08:53:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/5793","html_url":"https://github.com/caskdata/cdap/pull/5793","diff_url":"https://github.com/caskdata/cdap/pull/5793.diff","patch_url":"https://github.com/caskdata/cdap/pull/5793.patch"},"body":"- Make DefaultStoreTest faster\r\n  - No need to deploy any app to test store.\r\n  - Runtime drop from 21.7 sec to 2.9 sec\r\n- Replace the mandatory sleep in TestFrameworkTestBase to a retry on failure\r\n- Speedup AdminTestRun by not recreating the same app jar.\r\n  - Runtime drop from 77.6 sec to 62.1 sec\r\n- Speedup SparkFileSetTestRun by not recreating the same app jar\r\n  - Runtime drop from 67.3 sec to 56.3 sec\r\n- Speedup SparkTestRun by not recreating app jar\r\n  - Runtime drop from 169.9 to 113.1 seconds\r\n- Speedup PreferencesHttpHandlerTest by not deploying app\r\n  - It just need store entry, no need to run the deployment pipeline\r\n  - Runtime drop from 18.1 to 7.1 seconds\r\n- Speedup ServiceLifeCycleTestRun by not recreating jar\r\n- Fixed a bug in TestBase that the applicationManager is not stopped\r\n  if deployed with an artifact jar."},"comment":{"url":"https://api.github.com/repos/caskdata/cdap/issues/comments/219658227","html_url":"https://github.com/caskdata/cdap/pull/5793#issuecomment-219658227","issue_url":"https://api.github.com/repos/caskdata/cdap/issues/5793","id":219658227,"user":{"login":"anwar6953","id":2440977,"avatar_url":"https://avatars.githubusercontent.com/u/2440977?v=3","gravatar_id":"","url":"https://api.github.com/users/anwar6953","html_url":"https://github.com/anwar6953","followers_url":"https://api.github.com/users/anwar6953/followers","following_url":"https://api.github.com/users/anwar6953/following{/other_user}","gists_url":"https://api.github.com/users/anwar6953/gists{/gist_id}","starred_url":"https://api.github.com/users/anwar6953/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anwar6953/subscriptions","organizations_url":"https://api.github.com/users/anwar6953/orgs","repos_url":"https://api.github.com/users/anwar6953/repos","events_url":"https://api.github.com/users/anwar6953/events{/privacy}","received_events_url":"https://api.github.com/users/anwar6953/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T08:53:52Z","updated_at":"2016-05-17T08:53:52Z","body":"LGTM"}}