Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6224733

Browse files
committedMar 1, 2025·
Tweak complex test
This test is problematic on GitHub Actions because the build agents are SO SLOW.
1 parent f0f6b9a commit 6224733

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/TinyIpc/Messaging/TinyMessageBus.Tests.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ public async Task All_messages_should_be_processed_even_with_multiple_buses_in_a
9090
await buses[rnd.Next() % buses.Length].PublishAsync(messages, cancellationToken);
9191
}
9292

93+
// Force a read of all messages to work around timing issues
94+
await messagebus1.ReadAsync();
95+
await messagebus2.ReadAsync();
96+
9397
// Add a new bus to the mix
9498
using var messagebus3 = new TinyMessageBus(name);
9599

@@ -101,7 +105,7 @@ public async Task All_messages_should_be_processed_even_with_multiple_buses_in_a
101105
await buses[rnd.Next() % buses.Length].PublishAsync(messages, cancellationToken);
102106
}
103107

104-
// Force a final read of all messages to work around timing issuees
108+
// Force a final read of all messages to work around timing issues
105109
await messagebus1.ReadAsync();
106110
await messagebus2.ReadAsync();
107111
await messagebus3.ReadAsync();

0 commit comments

Comments
 (0)
Please sign in to comment.