Skip to content

Commit

Permalink
fix(test): config redis url correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
keroro520 committed Jan 7, 2025
1 parent 49944a0 commit 8dbca97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions host/src/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,8 @@ mod tests {
fn setup_actor_with_tasks(tx: Sender<Message>, _rx: Receiver<Message>) -> ProofActor {
let opts = Opts {
concurrency_limit: 4,
redis_url: "redis://localhost:6379".to_string(),
redis_ttl: 3600,
..Default::default()
};
let task_manager = TaskManagerWrapperImpl::new(&opts.clone().into());
Expand Down
2 changes: 2 additions & 0 deletions host/tests/common/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ impl TestServerBuilder {
log_level,

concurrency_limit: 16,
redis_url: "redis://localhost:6379".to_string(),
redis_ttl: 3600,
..Default::default()
};
let state = ProverState::init_with_opts(opts).expect("Failed to initialize prover state");
Expand Down

0 comments on commit 8dbca97

Please sign in to comment.