Commit bb5a95a1 authored by justcoding121's avatar justcoding121

fix tests

parent 6f1c42df
...@@ -29,10 +29,10 @@ namespace Titanium.Web.Proxy.UnitTests ...@@ -29,10 +29,10 @@ namespace Titanium.Web.Proxy.UnitTests
{ {
tasks.Add(Task.Run(async () => tasks.Add(Task.Run(async () =>
{ {
await Task.Delay(random.Next(0, 10) * 1000); await Task.Delay(random.Next(0, 10) * 100);
//get the connection //get the connection
var certificate = mgr.CreateCertificate(host, false); var certificate = await mgr.CreateCertificateAsync(host);
Assert.IsNotNull(certificate); Assert.IsNotNull(certificate);
})); }));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment