Skip to content

Commit

Permalink
tiny changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Jan 3, 2024
1 parent a949e35 commit 9593408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void TestWaitInAQueueForAnIdleSession()
Assert.AreEqual(waitingEvents[1].ThreadName, lastConnectingEventsGroup[1].ThreadName);
Assert.GreaterOrEqual(lastConnectingEventsGroup[0].Duration, 1900);
Assert.LessOrEqual(lastConnectingEventsGroup[0].Duration, 3100);
Assert.GreaterOrEqual(lastConnectingEventsGroup[1].Duration, 2000);
Assert.GreaterOrEqual(lastConnectingEventsGroup[1].Duration, 1900);
Assert.LessOrEqual(lastConnectingEventsGroup[1].Duration, 3100);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void TestCompleteCleansExpiredTokens()
var token = tokens.BeginCreate();
tokens.BeginCreate(); // this token will be cleaned because of expiration
Assert.AreEqual(2, tokens.Count());
Thread.Sleep((int) tokens._timeout);
Thread.Sleep((int) tokens._timeout + 5);

// act
tokens.EndCreate(token);
Expand Down

0 comments on commit 9593408

Please sign in to comment.