diff --git a/mithril-test-lab/mithril-end-to-end/src/devnet/runner.rs b/mithril-test-lab/mithril-end-to-end/src/devnet/runner.rs index 2d50f8c29a..35d78c8557 100644 --- a/mithril-test-lab/mithril-end-to-end/src/devnet/runner.rs +++ b/mithril-test-lab/mithril-end-to-end/src/devnet/runner.rs @@ -270,8 +270,13 @@ impl Devnet { } } - pub async fn write_era_marker(&self, target_path: &Path) -> StdResult<()> { - let run_script = "era-mithril.sh"; + pub async fn write_era_marker(&self, _target_path: &Path) -> StdResult<()> { + //Err(anyhow!("Unretryable error triggered for testing purpose!")) + Err(anyhow!(UnrecoverableDevnetError( + "Retryable error triggered for testing purpose!".to_string() + ))) + + /* let run_script = "era-mithril.sh"; let run_script_path = self.artifacts_dir.join(run_script); let mut run_command = Command::new(&run_script_path); run_command @@ -293,7 +298,7 @@ impl Devnet { "Write era marker on chain exited with status code: {code}" )))), None => Err(anyhow!("Write era marker on chain terminated by signal")), - } + } */ } pub async fn transfer_funds(&self) -> StdResult<()> {