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

Adjust E2E test prover&verifier resource reqs #150

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

tuommaki
Copy link
Contributor

Having less requirements for prover & verifier in E2E test, the more concurrency it allows when used for stress testing.

Having less requirements for prover & verifier in E2E test, the more
concurrency it allows when used for stress testing.
@tuommaki tuommaki self-assigned this Mar 18, 2024
@tuommaki
Copy link
Contributor Author

One can test the node locking pretty nicely with this:

diff --git a/crates/tests/e2e-tests/src/main.rs b/crates/tests/e2e-tests/src/main.rs
index c16c285..30be08d 100644
--- a/crates/tests/e2e-tests/src/main.rs
+++ b/crates/tests/e2e-tests/src/main.rs
@@ -56,10 +56,11 @@ async fn main() -> Result<()> {
     .await
     .expect("deploy");
 
-    for nonce in 1..2 {
+    for nonce in 1..4000 {
         send_proving_task(&client, &key, nonce, &prover_hash, &verifier_hash)
             .await
             .expect("send proving task");
+        sleep(Duration::from_millis(350)).await;
     }
 
     sleep(Duration::from_secs(360)).await;

Copy link
Contributor

@kylegranger kylegranger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@tuommaki tuommaki merged commit 06ff0ec into main Mar 18, 2024
4 checks passed
@tuommaki tuommaki deleted the adjust-e2e-test-program-resource-reqs branch March 18, 2024 19:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants