From 95ef2c0234fb43157fa2f91465c4651d96a56044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuomas=20M=C3=A4kinen?= Date: Mon, 18 Mar 2024 21:10:52 +0200 Subject: [PATCH] Adjust E2E test prover&verifier resource reqs Having less requirements for prover & verifier in E2E test, the more concurrency it allows when used for stress testing. --- crates/tests/e2e-tests/src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crates/tests/e2e-tests/src/main.rs b/crates/tests/e2e-tests/src/main.rs index 41adc6de..c16c2856 100644 --- a/crates/tests/e2e-tests/src/main.rs +++ b/crates/tests/e2e-tests/src/main.rs @@ -2,6 +2,7 @@ use clap::Parser; use gevulot_node::{ rpc_client::RpcClient, types::{ + program::ResourceRequest, transaction::{Payload, ProgramData, ProgramMetadata, Workflow, WorkflowStep}, Hash, Transaction, }, @@ -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();