Skip to content

Commit

Permalink
chore(test): re-enable can_store_after_restart test
Browse files Browse the repository at this point in the history
  • Loading branch information
maqi committed Nov 7, 2024
1 parent a7a96b5 commit 5a23171
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sn_networking/src/record_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,6 @@ mod tests {
}

#[tokio::test]
#[ignore = "fails on ci"]
async fn can_store_after_restart() -> eyre::Result<()> {
let temp_dir = TempDir::new().expect("Should be able to create a temp dir.");
let store_config = NodeRecordStoreConfig {
Expand Down Expand Up @@ -1290,7 +1289,7 @@ mod tests {
assert!(stored_record.is_some(), "Chunk should be stored");

// Sleep a while to let OS completes the flush to disk
sleep(Duration::from_secs(1)).await;
sleep(Duration::from_secs(10)).await;

// Restart the store with same encrypt_seed
drop(store);
Expand Down

0 comments on commit 5a23171

Please sign in to comment.