Skip to content

Commit

Permalink
aftermerge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StanChe committed Dec 27, 2023
1 parent d5a38de commit 542a759
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nft_ingester/tests/gapfiller_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use nft_ingester::gapfiller::process_asset_details_stream;
use solana_sdk::pubkey::Pubkey;
use std::sync::Arc;
use tempfile::TempDir;
use tokio::{sync::Mutex, task::JoinSet};

use rocks_db::Storage;

Expand All @@ -20,7 +21,11 @@ fn create_test_complete_asset_details(pubkey: Pubkey) -> CompleteAssetDetails {
async fn test_process_asset_details_stream() {
let temp_dir = TempDir::new().expect("Failed to create a temporary directory");
let storage = Arc::new(
Storage::open(temp_dir.path().to_str().unwrap()).expect("Failed to create a database"),
Storage::open(
temp_dir.path().to_str().unwrap(),
Arc::new(Mutex::new(JoinSet::new())),
)
.expect("Failed to create a database"),
);

let first_key = Pubkey::new_unique();
Expand Down

0 comments on commit 542a759

Please sign in to comment.