Skip to content

Commit

Permalink
Replace wrap_err with warning
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Feb 19, 2021
1 parent 0955eb5 commit 9377ff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zebrad/tests/acceptance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ where
.context_from(&output2)?;
output1
.assert_was_killed()
.wrap_err("Possible port conflict. Are there other acceptance tests running?")
.warning("Possible port conflict. Are there other acceptance tests running?")
.context_from(&output2)?;

// In the second node we look for the conflict regex
Expand All @@ -1258,7 +1258,7 @@ where
.context_from(&output1)?;
output2
.assert_was_not_killed()
.wrap_err("Possible port conflict. Are there other acceptance tests running?")
.warning("Possible port conflict. Are there other acceptance tests running?")
.context_from(&output1)?;

Ok(())
Expand Down

0 comments on commit 9377ff7

Please sign in to comment.