{"action":"created","issue":{"url":"https://api.github.com/repos/caskdata/cdap/issues/3532","labels_url":"https://api.github.com/repos/caskdata/cdap/issues/3532/labels{/name}","comments_url":"https://api.github.com/repos/caskdata/cdap/issues/3532/comments","events_url":"https://api.github.com/repos/caskdata/cdap/issues/3532/events","html_url":"https://github.com/caskdata/cdap/pull/3532","id":99357079,"number":3532,"title":"Wait till the workflow stop before calling the current endpoint.","user":{"login":"sagarkapare","id":5713570,"avatar_url":"https://avatars.githubusercontent.com/u/5713570?v=3","gravatar_id":"","url":"https://api.github.com/users/sagarkapare","html_url":"https://github.com/sagarkapare","followers_url":"https://api.github.com/users/sagarkapare/followers","following_url":"https://api.github.com/users/sagarkapare/following{/other_user}","gists_url":"https://api.github.com/users/sagarkapare/gists{/gist_id}","starred_url":"https://api.github.com/users/sagarkapare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagarkapare/subscriptions","organizations_url":"https://api.github.com/users/sagarkapare/orgs","repos_url":"https://api.github.com/users/sagarkapare/repos","events_url":"https://api.github.com/users/sagarkapare/events{/privacy}","received_events_url":"https://api.github.com/users/sagarkapare/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-06T05:21:37Z","updated_at":"2015-08-06T17:33:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/3532","html_url":"https://github.com/caskdata/cdap/pull/3532","diff_url":"https://github.com/caskdata/cdap/pull/3532.diff","patch_url":"https://github.com/caskdata/cdap/pull/3532.patch"},"body":"Fix the flaky test case.\r\nWe give command to stop the Workflow and then call the current endpoint, which should return 404 when workflow is not running. However if the Workflow is not completely stopped, then the current endpoint may return 500. \r\n\r\nAdded wait in the test case till the Workflow stops completely and then call current endpoint. "},"comment":{"url":"https://api.github.com/repos/caskdata/cdap/issues/comments/128452420","html_url":"https://github.com/caskdata/cdap/pull/3532#issuecomment-128452420","issue_url":"https://api.github.com/repos/caskdata/cdap/issues/3532","id":128452420,"user":{"login":"gokulavasan","id":558459,"avatar_url":"https://avatars.githubusercontent.com/u/558459?v=3","gravatar_id":"","url":"https://api.github.com/users/gokulavasan","html_url":"https://github.com/gokulavasan","followers_url":"https://api.github.com/users/gokulavasan/followers","following_url":"https://api.github.com/users/gokulavasan/following{/other_user}","gists_url":"https://api.github.com/users/gokulavasan/gists{/gist_id}","starred_url":"https://api.github.com/users/gokulavasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gokulavasan/subscriptions","organizations_url":"https://api.github.com/users/gokulavasan/orgs","repos_url":"https://api.github.com/users/gokulavasan/repos","events_url":"https://api.github.com/users/gokulavasan/events{/privacy}","received_events_url":"https://api.github.com/users/gokulavasan/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T17:33:59Z","updated_at":"2015-08-06T17:33:59Z","body":"LGTM :+1: "}}