Skip to content

Commit

Permalink
fix: tracker checker execution in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Nov 13, 2024
1 parent 3267bc7 commit 3398024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/console/ci/e2e/tracker_checker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ use std::process::Command;
/// Will return an error if the Tracker Checker fails.
pub fn run(config_content: &str) -> io::Result<()> {
tracing::info!(
"Running Tracker Checker: TORRUST_CHECKER_CONFIG=[config] cargo run -p bittorrent-tracker-client --bin tracker_checker"
"Running Tracker Checker: TORRUST_CHECKER_CONFIG=[config] cargo run -p torrust-tracker-client --bin tracker_checker"
);
tracing::info!("Tracker Checker config:\n{config_content}");

let status = Command::new("cargo")
.env("TORRUST_CHECKER_CONFIG", config_content)
.args(["run", "-p", "bittorrent-tracker-client", "--bin", "tracker_checker"])
.args(["run", "-p", "torrust-tracker-client", "--bin", "tracker_checker"])
.status()?;

if status.success() {
Expand Down

0 comments on commit 3398024

Please sign in to comment.