Skip to content

Commit

Permalink
[DB-16111] Increase sleeps in TestFixture.cs to avoid test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Massari committed Jul 17, 2018
2 parents e5823eb + efc2555 commit 81a195a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NUnitTestProject/TestFixture.cs
Expand Up @@ -1399,7 +1399,7 @@ public void TestConnectionPooling()
pooledItems = NuoDbConnection.GetPooledConnectionCount(cnn);
Assert.AreEqual(2, pooledItems);

Thread.Sleep(3000);
Thread.Sleep(13000);

// 1 busy
pooledItems = NuoDbConnection.GetPooledConnectionCount(cnn);
Expand All @@ -1423,7 +1423,7 @@ public void TestConnectionPooling()
pooledItems = NuoDbConnection.GetPooledConnectionCount(newConnString);
Assert.AreEqual(1, pooledItems);

Thread.Sleep(3000);
Thread.Sleep(13000);

// empty pool
pooledItems = NuoDbConnection.GetPooledConnectionCount(newConnString);
Expand Down

0 comments on commit 81a195a

Please sign in to comment.