Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chkr1011 committed May 12, 2024
1 parent ae4f168 commit 473f9c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ public async Task Subscribe_Does_Not_Hang_On_Server_Stop()
public async Task Unsubscribe_Does_Not_Hang_On_Server_Stop()
{
var timeout = TimeSpan.FromSeconds(2);
var testTimeout = timeout * 2;
var testTimeout = TimeSpan.FromSeconds(timeout.TotalSeconds * 2);
const string topic = "test_topic_2";
using (var testEnvironment = CreateTestEnvironment())
using (var managedClient = await CreateManagedClientAsync(testEnvironment, timeout: timeout))
Expand Down Expand Up @@ -670,7 +670,7 @@ public async Task Unsubscribe_Does_Not_Hang_On_Server_Stop()
public async Task Publish_Does_Not_Hang_On_Server_Error()
{
var timeout = TimeSpan.FromSeconds(2);
var testTimeout = timeout * 2;
var testTimeout = TimeSpan.FromSeconds(timeout.TotalSeconds * 2);

const string topic = "test_topic_42";

Expand Down

0 comments on commit 473f9c3

Please sign in to comment.