Fixes/improvements for disputes (#3753)

* More debugging output.

* Fix chain selection in case of disputes.

* Fix flaky test.
This commit is contained in:
Robert Klotzner authored and GitHub committed 2021-09-01 14:25:56 -05:00
1 parent bff0ed532f
commit ffcde1e5e7
7 files changed
+60 -31

No files matched your search

@@ -93,7 +93,7 @@ const COST_INVALID_REQUEST: Rep = Rep::CostMajor("Peer sent unparsable request")
#[cfg(not(test))]
const TIMEOUT_START_NEW_REQUESTS: Duration = CHUNK_REQUEST_TIMEOUT;
#[cfg(test)]
const TIMEOUT_START_NEW_REQUESTS: Duration = Duration::from_millis(4);
const TIMEOUT_START_NEW_REQUESTS: Duration = Duration::from_millis(10);
/// The Availability Recovery Subsystem.
pub struct AvailabilityRecoverySubsystem {