Skip to content

Commit

Permalink
Add note to test to assist in future debug sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
bignimbus committed Jan 25, 2023
1 parent c943385 commit 7cb861f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/link/batch/__tests__/batchLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,9 @@ describe('OperationBatcher', () => {
});

itAsync('should be able to consume from a queue containing multiple queries with different batch keys', (resolve, reject) => {
// NOTE: this test was added to ensure that queries don't "hang" when consumed by BatchLink.
// "Hanging" in this case results in this test never resolving. So
// if this test times out it's probably a real issue and not a flake
const request2: Operation = createOperation(
{},
{
Expand Down

0 comments on commit 7cb861f

Please sign in to comment.