Made LEADER_ROTATION_INTERVAL settable so that integration tests don't time out

This commit is contained in:
Carl
2018-09-17 15:43:23 -07:00
committed by Greg Fitzgerald
parent 2030dfa435
commit b10de40506
9 changed files with 147 additions and 56 deletions

View File

@@ -472,6 +472,7 @@ mod tests {
None,
&ledger_path,
false,
None,
);
sleep(Duration::from_millis(900));
@@ -517,6 +518,7 @@ mod tests {
None,
&ledger_path,
false,
None,
);
//TODO: remove this sleep, or add a retry so CI is stable
sleep(Duration::from_millis(300));
@@ -575,6 +577,7 @@ mod tests {
None,
&ledger_path,
false,
None,
);
sleep(Duration::from_millis(300));
@@ -634,6 +637,7 @@ mod tests {
None,
&ledger_path,
false,
None,
);
sleep(Duration::from_millis(900));