Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Adjust E2E test prover&verifier resource reqs
Browse files Browse the repository at this point in the history
Having less requirements for prover & verifier in E2E test, the more
concurrency it allows when used for stress testing.
  • Loading branch information
tuommaki committed Mar 18, 2024
1 parent 8476ea9 commit 95ef2c0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/tests/e2e-tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use clap::Parser;
use gevulot_node::{
rpc_client::RpcClient,
types::{
program::ResourceRequest,
transaction::{Payload, ProgramData, ProgramMetadata, Workflow, WorkflowStep},
Hash, Transaction,
},
Expand Down Expand Up @@ -160,7 +161,11 @@ fn from_img_file_to_metadata(img_file: &Path, img_file_url: &str) -> ProgramMeta
image_file_name: file_name,
image_file_url: img_file_url.to_string(),
image_file_checksum: checksum.to_string(),
resource_requirements: None,
resource_requirements: Some(ResourceRequest {
cpus: 1,
mem: 128,
gpus: 0,
}),
};

program.update_hash();
Expand Down

0 comments on commit 95ef2c0

Please sign in to comment.