More tests for new request based statement distribution (#2875)

* More test coverage.

* Preserve peer order.

* Better test coverage.

* Even more test coverage.

* Add doc comment to `IndexMap`.

* Fix flaky test.

* Review remarks.

* Review remarks.
This commit is contained in:
Robert Klotzner
2021-04-12 16:15:25 +02:00
committed by GitHub
parent 195772c5d4
commit d1d33abdf8
4 changed files with 213 additions and 21 deletions
+2
View File
@@ -6507,6 +6507,7 @@ dependencies = [
"arrayvec 0.5.2",
"assert_matches",
"futures 0.3.13",
"futures-timer 3.0.2",
"indexmap",
"parity-scale-codec",
"polkadot-node-network-protocol",
@@ -6522,6 +6523,7 @@ dependencies = [
"sp-keyring",
"sp-keystore",
"sp-staking",
"sp-tracing",
"tracing",
]