Skip to content

Commit

Permalink
Adjust time tolerance in TransportConfigurationTests
Browse files Browse the repository at this point in the history
Increased the time tolerance for the 'LastUpdate' field comparison from 100 milliseconds to 2 seconds. This change enhances the reliability of the test by accommodating larger variations in timing.

(cherry picked from commit 14207cb)
  • Loading branch information
Mpdreamz committed Nov 1, 2024
1 parent ac8afb0 commit 84f4b38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void SameDefaults()

config.BootstrapLock.CurrentCount.Should().Be(newConfig.BootstrapLock.CurrentCount);
config.NodePool.LastUpdate
.Should().BeCloseTo(newConfig.NodePool.LastUpdate, TimeSpan.FromMilliseconds(100));
.Should().BeCloseTo(newConfig.NodePool.LastUpdate, TimeSpan.FromSeconds(2));
}

#if !NETFRAMEWORK
Expand Down

0 comments on commit 84f4b38

Please sign in to comment.