Skip to content

Commit

Permalink
Update failing mobile test
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-safar committed May 28, 2013
1 parent 7745e11 commit ec5a3f0
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -685,12 +685,13 @@ public void GetString_RelativeUri ()
}

[Test]
[Category ("MobileNotWorking")] // Missing encoding
public void GetString_Many ()
{
var c = new HttpClient ();
var t1 = c.GetStringAsync ("http://www.google.com");
var t2 = c.GetStringAsync ("http://www.google.com");
Assert.IsTrue (Task.WaitAll (new [] { t1, t2 }, 5000));
var client = new HttpClient ();
var t1 = client.GetStringAsync ("http://www.google.com");
var t2 = client.GetStringAsync ("http://www.google.com");
Assert.IsTrue (Task.WaitAll (new [] { t1, t2 }, WaitTimeout));
}

[Test]
Expand Down

0 comments on commit ec5a3f0

Please sign in to comment.