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 fc46298 commit 8a2b659
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 @@ -721,6 +721,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()
};

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 8a2b659

Please sign in to comment.