{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Testing/issues/96","labels_url":"https://api.github.com/repos/aspnet/Testing/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Testing/issues/96/comments","events_url":"https://api.github.com/repos/aspnet/Testing/issues/96/events","html_url":"https://github.com/aspnet/Testing/issues/96","id":66941080,"number":96,"title":"TestHost returns the same message (testresult) multiple times for some of the tests.","user":{"login":"vijayrkn","id":3981619,"avatar_url":"https://avatars.githubusercontent.com/u/3981619?v=3","gravatar_id":"","url":"https://api.github.com/users/vijayrkn","html_url":"https://github.com/vijayrkn","followers_url":"https://api.github.com/users/vijayrkn/followers","following_url":"https://api.github.com/users/vijayrkn/following{/other_user}","gists_url":"https://api.github.com/users/vijayrkn/gists{/gist_id}","starred_url":"https://api.github.com/users/vijayrkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijayrkn/subscriptions","organizations_url":"https://api.github.com/users/vijayrkn/orgs","repos_url":"https://api.github.com/users/vijayrkn/repos","events_url":"https://api.github.com/users/vijayrkn/events{/privacy}","received_events_url":"https://api.github.com/users/vijayrkn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-07T17:15:29Z","updated_at":"2015-04-08T17:13:25Z","closed_at":"2015-04-07T22:04:05Z","body":"TestHost returns the same message multiple times for some of the tests.\r\n\r\nExample from MVC solution:\r\n\r\nOriginal Message: {\r\n  \"Test\": {\r\n    \"CodeFilePath\": null,\r\n    \"DisplayName\": \"ViewDataDictionaryTest.Eval_EvaluatesExpressions\",\r\n    \"FullyQualifiedName\": \"Microsoft.AspNet.Mvc.Core.ViewDataDictionaryTest.Eval_EvaluatesExpressions\",\r\n    \"Id\": \"0f40f8e2-80d0-30d2-bc26-970a13d6fb90\",\r\n    \"LineNumber\": null,\r\n    \"Properties\": {}\r\n  },\r\n  \"Outcome\": 1,\r\n  \"ErrorMessage\": null,\r\n  \"ErrorStackTrace\": null,\r\n  \"DisplayName\": null,\r\n  \"Messages\": [],\r\n  \"ComputerName\": null,\r\n  \"Duration\": \"00:00:00.0110000\",\r\n  \"StartTime\": \"0001-01-01T00:00:00-08:00\",\r\n  \"EndTime\": \"0001-01-01T00:00:00-08:00\"\r\n}\r\nDuplicate Message : {\r\n  \"Test\": {\r\n    \"CodeFilePath\": null,\r\n    \"DisplayName\": \"ViewDataDictionaryTest.Eval_EvaluatesExpressions\",\r\n    \"FullyQualifiedName\": \"Microsoft.AspNet.Mvc.Core.ViewDataDictionaryTest.Eval_EvaluatesExpressions\",\r\n    \"Id\": \"0f40f8e2-80d0-30d2-bc26-970a13d6fb90\",\r\n    \"LineNumber\": null,\r\n    \"Properties\": {}\r\n  },\r\n  \"Outcome\": 1,\r\n  \"ErrorMessage\": null,\r\n  \"ErrorStackTrace\": null,\r\n  \"DisplayName\": null,\r\n  \"Messages\": [],\r\n  \"ComputerName\": null,\r\n  \"Duration\": \"00:00:00\",\r\n  \"StartTime\": \"0001-01-01T00:00:00-08:00\",\r\n  \"EndTime\": \"0001-01-01T00:00:00-08:00\"\r\n}\r\nDuplicate Message : {\r\n  \"Test\": {\r\n    \"CodeFilePath\": null,\r\n    \"DisplayName\": \"ViewDataDictionaryTest.Eval_EvaluatesExpressions\",\r\n    \"FullyQualifiedName\": \"Microsoft.AspNet.Mvc.Core.ViewDataDictionaryTest.Eval_EvaluatesExpressions\",\r\n    \"Id\": \"0f40f8e2-80d0-30d2-bc26-970a13d6fb90\",\r\n    \"LineNumber\": null,\r\n    \"Properties\": {}\r\n  },\r\n  \"Outcome\": 1,\r\n  \"ErrorMessage\": null,\r\n  \"ErrorStackTrace\": null,\r\n  \"DisplayName\": null,\r\n  \"Messages\": [],\r\n  \"ComputerName\": null,\r\n  \"Duration\": \"00:00:00.0010000\",\r\n  \"StartTime\": \"0001-01-01T00:00:00-08:00\",\r\n  \"EndTime\": \"0001-01-01T00:00:00-08:00\"\r\n}"},"comment":{"url":"https://api.github.com/repos/aspnet/Testing/issues/comments/90977849","html_url":"https://github.com/aspnet/Testing/issues/96#issuecomment-90977849","issue_url":"https://api.github.com/repos/aspnet/Testing/issues/96","id":90977849,"user":{"login":"vijayrkn","id":3981619,"avatar_url":"https://avatars.githubusercontent.com/u/3981619?v=3","gravatar_id":"","url":"https://api.github.com/users/vijayrkn","html_url":"https://github.com/vijayrkn","followers_url":"https://api.github.com/users/vijayrkn/followers","following_url":"https://api.github.com/users/vijayrkn/following{/other_user}","gists_url":"https://api.github.com/users/vijayrkn/gists{/gist_id}","starred_url":"https://api.github.com/users/vijayrkn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijayrkn/subscriptions","organizations_url":"https://api.github.com/users/vijayrkn/orgs","repos_url":"https://api.github.com/users/vijayrkn/repos","events_url":"https://api.github.com/users/vijayrkn/events{/privacy}","received_events_url":"https://api.github.com/users/vijayrkn/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:13:25Z","updated_at":"2015-04-08T17:13:25Z","body":"Unit Test framework throws an exception when we try to add the same message (testresult) multiple times.\r\n\r\nframework.RecordResult(testResult); \r\nresults in error message - \"The specified test case was not found in the current result context\"\r\n\r\nVS Test output log:\r\nError displaying test result: ViewDataDictionaryTest.Eval_EvaluatesExpressions. The specified test case was not found in the current result context.\r\nError displaying test result: ViewDataDictionaryTest.Eval_EvaluatesExpressions. The specified test case was not found in the current result context.\r\nError displaying test result: ViewDataDictionaryTest.CopyConstructors_CopyModelMetadata. The specified test case was not found in the current result context.\r\nError displaying test result: ViewDataDictionaryTest.CopyConstructors_CopyModelMetadata. The specified test case was not found in the current result context.\r\nError displaying test result: ViewDataDictionaryTest.CopyConstructors_CopyModelMetadata. The specified test case was not found in the current result context.\r\nError displaying test result: ViewDataDictionaryTest.CopyConstructors_CopyModelMetadata. The specified test case was not found in the current result context.\r\nError displaying test result: ViewDataDictionaryTest.SetModelDoesNotThrowOnEnumerableModel. The specified test case was not found in the current result context.\r\n"}}