Skip to content

Commit

Permalink
Remove shared subscription distribution assertion; it is not valid by…
Browse files Browse the repository at this point in the history
… spec
  • Loading branch information
Bret Ambrose committed Jan 6, 2025
1 parent 13f8659 commit c6acf36
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/mqtt5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,6 @@ export async function doSharedSubscriptionsTest(publisher: mqtt5.Mqtt5Client, su
let messagesReceived : number = 0;
subscriberMessages.forEach(v => {
messagesReceived += v;
// Each subscriber should receive a portion of messages.
expect(v).toBeGreaterThan(0);
});
expect(messagesReceived).toEqual(messagesNumber);

Expand Down

0 comments on commit c6acf36

Please sign in to comment.