-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify topology for n-ary chain tests (#4039)
* Refactor client, connection and channel for nary chain bootstrapping in order to use a specified topology * Add changelog entry * Apply suggestions from code review Co-authored-by: Romain Ruetschi <[email protected]> Signed-off-by: Luca Joss <[email protected]> * Move parsing of string to TopologyType outside of bootstrap_topology method * Add TwoDimHashMap struct instead of using HashMap<HashMap<>> * Add option to override the topology for specific tests * Add cyclic topology implementation * Update changelog entry * Fix codespell * Refactor TwoDimHashMap to TwoDimMap and use BTreeMap instead of HashMap * Use TwoDimMap iter() implementation for channels * Use TwoDimMap iter() implementation for connections * Use TwoDimMap iter() implementation for foreign_clients * Remove unnecessary bool in TwoDimMap iterator * Update method docstring --------- Signed-off-by: Luca Joss <[email protected]> Co-authored-by: Romain Ruetschi <[email protected]>
- Loading branch information
Showing
21 changed files
with
567 additions
and
307 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...eased/improvements/ibc-integration-test/4099-specify-topology-for-nary-tests.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Refactored the test-framework bootstrapping for n-ary chain tests | ||
to utilize the specified topology. | ||
* Currently, only linear, cyclic and fully connected topologies are supported. | ||
([\#4038](https://github.com/informalsystems/hermes/issues/4038)) |
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
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
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
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
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
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
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
Oops, something went wrong.