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

feat(MR): [MR-638] Use both guaranteed and best-effort calls in all XNet tests #3582

Merged
merged 18 commits into from
Feb 7, 2025

Conversation

alin-at-dfinity
Copy link
Contributor

Default to a mix of guaranteed response and best-effort calls in all tests involving the xnet_test_canister (except for test_response_in_output_queue_causes_backpressure, which expects messages not to time out for 24 hours; and, for now, xnet_compatibility, since mainnet does not yet allow best-effort calls).

alin-at-dfinity and others added 11 commits January 20, 2025 17:12
A straightforward XNet test using best-effort calls.
…test

Make both guaranteed response and best-effort calls in the subnet upgrade-downgrade `xnet_compatibility` test.
…Net tests

Default to a mix of guaranteed response and best-effort calls in all tests involving the `xnet_test_canister` (except for `test_response_in_output_queue_causes_backpressure`, which expects messages not to time out for 24 hours; and, for now, `xnet_compatibility`, since mainnet does not yet allow best-effort calls).
@alin-at-dfinity alin-at-dfinity requested review from a team as code owners January 23, 2025 13:42
@alin-at-dfinity alin-at-dfinity marked this pull request as draft January 23, 2025 13:43
@alin-at-dfinity
Copy link
Contributor Author

This is an alternative to #3531 that switches all tests involving xnet_test_canister to a mix of guaranteed response and best-effort calls. And defaults to this mix for any future tests (with the option of opting out; or using something more specific).

@github-actions github-actions bot added the feat label Jan 23, 2025
@alin-at-dfinity alin-at-dfinity force-pushed the alin/MR-638-best-effort-xnet-tests branch from 2026ed0 to d54f5e3 Compare February 7, 2025 10:49
@alin-at-dfinity alin-at-dfinity marked this pull request as ready for review February 7, 2025 10:49
@github-actions github-actions bot added the @idx label Feb 7, 2025
@alin-at-dfinity alin-at-dfinity removed request for a team February 7, 2025 10:51
Copy link
Contributor

@derlerd-dfinity derlerd-dfinity left a comment

Choose a reason for hiding this comment

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

Thank you. LGTM.

rs/rust_canisters/xnet_test/Cargo.toml Outdated Show resolved Hide resolved
rs/tests/message_routing/BUILD.bazel Show resolved Hide resolved
rs/tests/message_routing/Cargo.toml Outdated Show resolved Hide resolved
Cargo.Bazel.json.lock Show resolved Hide resolved
@alin-at-dfinity alin-at-dfinity added this pull request to the merge queue Feb 7, 2025
Merged via the queue into master with commit 39f6eec Feb 7, 2025
26 checks passed
@alin-at-dfinity alin-at-dfinity deleted the alin/MR-638-best-effort-xnet-tests branch February 7, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants