Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JavaScript connection batch requests test #2986

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

pepone
Copy link
Member

@pepone pepone commented Oct 28, 2024

This PR fixes the testing of batch requests with connection for JavaScript, the code was wrongfully testing the proxy batch request queue.

test(bf.isCompleted());
await b1.ice_flushBatchRequests();
await b1.opBatch();
await connection.flushBatchRequests();
test(await p.waitForBatch(2));
}

if ((await p.ice_getConnection()) !== null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When is this null?
AFAIK, there is no colloc in JS.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will review

@pepone pepone merged commit 22fe85c into zeroc-ice:main Oct 28, 2024
17 checks passed
InsertCreativityHere pushed a commit to InsertCreativityHere/compiler-comparison that referenced this pull request Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants