mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-04-14 07:03:06 +00:00
chore: fmt compose environment
This commit is contained in:
parent
a7f7865d50
commit
bc943042d8
@ -10,7 +10,7 @@ use testing_framework_core::{
|
|||||||
adjust_timeout, scenario::CleanupGuard, topology::generation::GeneratedTopology,
|
adjust_timeout, scenario::CleanupGuard, topology::generation::GeneratedTopology,
|
||||||
};
|
};
|
||||||
use tokio::{process::Command, time::timeout};
|
use tokio::{process::Command, time::timeout};
|
||||||
use tracing::{debug, info, warn};
|
use tracing::{debug, error, info, warn};
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
@ -128,8 +128,6 @@ impl StackEnvironment {
|
|||||||
|
|
||||||
/// Dump compose logs and trigger cleanup after a failure.
|
/// Dump compose logs and trigger cleanup after a failure.
|
||||||
pub async fn fail(&mut self, reason: &str) {
|
pub async fn fail(&mut self, reason: &str) {
|
||||||
use tracing::error;
|
|
||||||
|
|
||||||
error!(
|
error!(
|
||||||
reason = reason,
|
reason = reason,
|
||||||
"compose stack failure; dumping docker logs"
|
"compose stack failure; dumping docker logs"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user