Made LEADER_ROTATION_INTERVAL settable so that integration tests don't time out
This commit is contained in:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user