-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Await all calls at once in xnet_test_canister
When xnet_test_canister was migrated from dfn_core to ic_cdk, it retained the structure of the earlier, callback-based fanout() method. Which meant that it was now awaiting the calls to eacu subnet separately. In the xnet_slo_120_subnets_staging_test, this lead to extended ramp-up and and ranp-down periods, which caused the test to time out. Instead, create futures for calls to all subnets first; and only then await them all.
- Loading branch information
1 parent
0dac15c
commit d9fe207
Showing
1 changed file
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters