Skip to content

Commit

Permalink
fix(iota): reenable test_start with correct assert (#3718)
Browse files Browse the repository at this point in the history
Co-authored-by: Thibault Martinez <[email protected]>
  • Loading branch information
Thoralf-M and thibault-martinez authored Oct 28, 2024
1 parent fe0d82c commit 0b6414f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/iota/tests/cli_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ async fn test_genesis() -> Result<(), anyhow::Error> {
Ok(())
}

#[ignore = "https://github.com/iotaledger/iota/issues/2983"]
#[sim_test]
async fn test_start() -> Result<(), anyhow::Error> {
let temp_dir = tempfile::tempdir()?;
Expand Down Expand Up @@ -167,7 +166,7 @@ async fn test_start() -> Result<(), anyhow::Error> {
let files = read_dir(working_dir)?
.flat_map(|r| r.map(|file| file.file_name().to_str().unwrap().to_owned()))
.collect::<Vec<_>>();
assert_eq!(12, files.len());
assert_eq!(13, files.len());
assert!(files.contains(&IOTA_CLIENT_CONFIG.to_string()));
assert!(files.contains(&IOTA_NETWORK_CONFIG.to_string()));
assert!(files.contains(&IOTA_FULLNODE_CONFIG.to_string()));
Expand Down

0 comments on commit 0b6414f

Please sign in to comment.