{"action":"created","issue":{"url":"https://api.github.com/repos/xunit/xunit/issues/489","labels_url":"https://api.github.com/repos/xunit/xunit/issues/489/labels{/name}","comments_url":"https://api.github.com/repos/xunit/xunit/issues/489/comments","events_url":"https://api.github.com/repos/xunit/xunit/issues/489/events","html_url":"https://github.com/xunit/xunit/issues/489","id":97574295,"number":489,"title":"'k test' does not return to shell on Mono post execution","user":{"login":"bradwilson","id":16944,"avatar_url":"https://avatars.githubusercontent.com/u/16944?v=3","gravatar_id":"","url":"https://api.github.com/users/bradwilson","html_url":"https://github.com/bradwilson","followers_url":"https://api.github.com/users/bradwilson/followers","following_url":"https://api.github.com/users/bradwilson/following{/other_user}","gists_url":"https://api.github.com/users/bradwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/bradwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradwilson/subscriptions","organizations_url":"https://api.github.com/users/bradwilson/orgs","repos_url":"https://api.github.com/users/bradwilson/repos","events_url":"https://api.github.com/users/bradwilson/events{/privacy}","received_events_url":"https://api.github.com/users/bradwilson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xunit/xunit/labels/External","name":"External","color":"ededed"},{"url":"https://api.github.com/repos/xunit/xunit/labels/type:%20Bug","name":"type: Bug","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-27T22:51:09Z","updated_at":"2015-07-27T22:51:13Z","closed_at":null,"body":"_From @suhasj on January 6, 2015 21:38_\n\nRunning a test against current `aspnet.xunit` sources on Mono 3.10.0, the tests are executed as expected but the control does not return to the shell. The 'Test Execution Summary' is displayed and cursor is present on the next line. Hitting 'Enter' does not return back to shell. Pressing `Ctrl+C` displays the message `Cancelling... (Press  Ctrl+C again to terminate)` which is for the exception handler registered in the `Main` method of the runner.\r\n\r\nThis happens on both OSX and Linux\r\n\r\nRepro\r\n- Create a sample test project with a single test method having Asset.True(true)\r\n- Setup the project to use `aspnet.xunit` from the current repro\r\n- Run 'k test' (KRE used is 1.0.0-beta1)\r\n\r\nExpected:\r\nTest executed and returned back to shell\r\n\r\nActual\r\nTest executed and control hung after the summary. Can be exited by hitting `Ctrl + C` twice\n\n_Copied from original issue: xunit/dnx.xunit#6_"},"comment":{"url":"https://api.github.com/repos/xunit/xunit/issues/comments/125372794","html_url":"https://github.com/xunit/xunit/issues/489#issuecomment-125372794","issue_url":"https://api.github.com/repos/xunit/xunit/issues/489","id":125372794,"user":{"login":"bradwilson","id":16944,"avatar_url":"https://avatars.githubusercontent.com/u/16944?v=3","gravatar_id":"","url":"https://api.github.com/users/bradwilson","html_url":"https://github.com/bradwilson","followers_url":"https://api.github.com/users/bradwilson/followers","following_url":"https://api.github.com/users/bradwilson/following{/other_user}","gists_url":"https://api.github.com/users/bradwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/bradwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradwilson/subscriptions","organizations_url":"https://api.github.com/users/bradwilson/orgs","repos_url":"https://api.github.com/users/bradwilson/repos","events_url":"https://api.github.com/users/bradwilson/events{/privacy}","received_events_url":"https://api.github.com/users/bradwilson/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T22:51:13Z","updated_at":"2015-07-27T22:51:13Z","body":"We isolated this as a Mono bug w/ `ExecutionContext`, which I logged. https://bugzilla.xamarin.com/show_bug.cgi?id=28793"}}