mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-14 08:41:06 +00:00
fix line logging
This commit is contained in:
@@ -216,13 +216,13 @@ impl GethNode {
|
|||||||
let mut lines = vec![];
|
let mut lines = vec![];
|
||||||
loop {
|
loop {
|
||||||
if let Some(Ok(line)) = stderr.next() {
|
if let Some(Ok(line)) = stderr.next() {
|
||||||
lines.push(line);
|
|
||||||
if line.contains(Self::ERROR_MARKER) {
|
if line.contains(Self::ERROR_MARKER) {
|
||||||
anyhow::bail!("Failed to start geth {line}");
|
anyhow::bail!("Failed to start geth {line}");
|
||||||
}
|
}
|
||||||
if line.contains(Self::READY_MARKER) {
|
if line.contains(Self::READY_MARKER) {
|
||||||
return Ok(self);
|
return Ok(self);
|
||||||
}
|
}
|
||||||
|
lines.push(line);
|
||||||
}
|
}
|
||||||
if Instant::now().duration_since(start_time) > maximum_wait_time {
|
if Instant::now().duration_since(start_time) > maximum_wait_time {
|
||||||
anyhow::bail!(
|
anyhow::bail!(
|
||||||
|
|||||||
Reference in New Issue
Block a user