tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 229Rust 8TOML 3CSS 1310 Sutichaykuna

Reduce gentest getTestData retry attempts to 3

45e37bb5b5338f49ecff63b0743286413a7fa8db · ruwaq nico.burns · (2 killa ñawpaq) · tayta e02498b95 · kay commitpi sach'ata qhaway

Semántico sayk'uy · 1

scripts/gentest/src/main.rs

1 qillqakuna · +1 −1

diff --git a/scripts/gentest/src/main.rs b/scripts/gentest/src/main.rs
index 409442107..0b8d5bd9d 100644
--- a/scripts/gentest/src/main.rs
+++ b/scripts/gentest/src/main.rs
@@ -181,7 +181,7 @@ async fn test_root_element(client: Client, name: String, fixture_path: impl AsRe
     let description = loop {
         match client.execute("return getTestData()", vec![]).await {
             Ok(description) => break description,
-            Err(err) if attempts < 5 => {
+            Err(err) if attempts < 3 => {
                 attempts += 1;
                 warn!("getTestData() failed for {name} (attempt {attempts}): {err}");
                 tokio::time::sleep(std::time::Duration::from_millis(200)).await;