Skip to content

Commit

Permalink
fix(test): set same variable as was set before
Browse files Browse the repository at this point in the history
  • Loading branch information
oetyng committed Sep 14, 2021
1 parent d3bc64d commit 3069b7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ async fn connection_attempts_to_bootstrap_contacts_should_succeed() -> Result<()
local_addr(),
&contacts,
Config {
max_retry_interval: Duration::from_millis(500).into(),
retrying_max_elapsed_time: Duration::from_millis(500).into(),
..Config::default()
},
)
Expand Down Expand Up @@ -677,7 +677,7 @@ async fn client() -> Result<()> {
Endpoint::<[u8; 32]>::new_client(
local_addr(),
Config {
max_retry_interval: Some(Duration::from_millis(500)),
retrying_max_elapsed_time: Some(Duration::from_millis(500)),
..Default::default()
},
)?;
Expand Down
2 changes: 1 addition & 1 deletion src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub(crate) async fn new_endpoint() -> Result<(
local_addr(),
&[],
Config {
max_retry_interval: Duration::from_millis(500).into(),
retrying_max_elapsed_time: Duration::from_millis(500).into(),
..Config::default()
},
)
Expand Down

0 comments on commit 3069b7f

Please sign in to comment.