{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3107","repository_url":"https://api.github.com/repos/NuGet/NuGetGallery","labels_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3107/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3107/comments","events_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3107/events","html_url":"https://github.com/NuGet/NuGetGallery/issues/3107","id":163038015,"number":3107,"title":"Gallery UTs take a long time","user":{"login":"skofman1","id":16807822,"avatar_url":"https://avatars.githubusercontent.com/u/16807822?v=3","gravatar_id":"","url":"https://api.github.com/users/skofman1","html_url":"https://github.com/skofman1","followers_url":"https://api.github.com/users/skofman1/followers","following_url":"https://api.github.com/users/skofman1/following{/other_user}","gists_url":"https://api.github.com/users/skofman1/gists{/gist_id}","starred_url":"https://api.github.com/users/skofman1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skofman1/subscriptions","organizations_url":"https://api.github.com/users/skofman1/orgs","repos_url":"https://api.github.com/users/skofman1/repos","events_url":"https://api.github.com/users/skofman1/events{/privacy}","received_events_url":"https://api.github.com/users/skofman1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-29T22:07:14Z","updated_at":"2016-06-30T21:33:44Z","closed_at":null,"body":"Tests in NuGetGallery.SearchClient.RetryingHttpClientWrapperFacts take minutes to complete. UTs should be fast."},"comment":{"url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/comments/229795519","html_url":"https://github.com/NuGet/NuGetGallery/issues/3107#issuecomment-229795519","issue_url":"https://api.github.com/repos/NuGet/NuGetGallery/issues/3107","id":229795519,"user":{"login":"shishirx34","id":1646506,"avatar_url":"https://avatars.githubusercontent.com/u/1646506?v=3","gravatar_id":"","url":"https://api.github.com/users/shishirx34","html_url":"https://github.com/shishirx34","followers_url":"https://api.github.com/users/shishirx34/followers","following_url":"https://api.github.com/users/shishirx34/following{/other_user}","gists_url":"https://api.github.com/users/shishirx34/gists{/gist_id}","starred_url":"https://api.github.com/users/shishirx34/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shishirx34/subscriptions","organizations_url":"https://api.github.com/users/shishirx34/orgs","repos_url":"https://api.github.com/users/shishirx34/repos","events_url":"https://api.github.com/users/shishirx34/events{/privacy}","received_events_url":"https://api.github.com/users/shishirx34/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T21:33:44Z","updated_at":"2016-06-30T21:33:44Z","body":"`LoadBalancesBetweenValidUrisForGetStringAsync` and `LoadBalancesBetweenValidUrisForGetAsync` tests run into infinite loop when the returned RequestUris don't match the validUris. RetryingHttpClientWrapper is returning Request URIs(one with https, I have seen this happen often, not always):\r\n\r\nActual:\r\n```\r\n{http://www.microsoft.com/}\r\n{https://www.bing.com/?toHttps=1&redig=414F637CC2A1431BACF5E4B0D0F90FF0}\r\n```\r\n\r\nExpected:\r\n```\r\n{http://www.microsoft.com/}\r\n{http://www.bing.com/}\r\n```\r\n\r\nApart from the test bug(which causes inifinite loop), the tests are failing due to mismatch of these URIs. I am not yet fully familiar with the code hence not sure if just validating the host for Uris is a sufficient test case fix. I will send out a PR and get feedback on understanding what the correct validation would be here."}}
{"actor":{"display_login":"shishirx34"}}