From d7ba6ce29abd812a997eb0390bdcf800818a0b8e Mon Sep 17 00:00:00 2001
From: Harald Ng <harald.ng@hotmail.com>
Date: Tue, 4 Feb 2025 18:08:11 +0100
Subject: [PATCH 1/3] Update ci.yml

---
 .github/workflows/ci.yml | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 158112b..ef73af2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -38,14 +38,6 @@ jobs:
         with:
           toolchain: ${{ matrix.rust }}
           override: true
-      - name: Use the cache to share dependencies # keyed by Cargo.lock
-        uses: actions/cache@v2
-        with:
-          path: |
-            ~/.cargo/registry
-            ~/.cargo/git
-            target
-          key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
       - name: Checkout sources
         uses: actions/checkout@v2
       - name: Run tests

From 624480372557d29f2bd33a60385fcbbae994b8d4 Mon Sep 17 00:00:00 2001
From: Harald Ng <harald.ng@hotmail.com>
Date: Tue, 4 Feb 2025 18:10:48 +0100
Subject: [PATCH 2/3] Update ci.yml

---
 .github/workflows/ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ef73af2..fcd9c85 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,6 +3,7 @@ on:
   push:
     branches:
       - master
+      - no-cache
   pull_request:
     branches:
       - master

From a546566005f9710c0143d164e19800a56753abd2 Mon Sep 17 00:00:00 2001
From: Harald Ng <harald.ng@hotmail.com>
Date: Tue, 4 Feb 2025 18:58:10 +0100
Subject: [PATCH 3/3] increase timers and use fewer nodes

---
 omnipaxos/tests/config/test.toml | 22 +++++++++++-----------
 omnipaxos/tests/recovery_test.rs |  2 +-
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/omnipaxos/tests/config/test.toml b/omnipaxos/tests/config/test.toml
index 7586bb0..c14f31e 100644
--- a/omnipaxos/tests/config/test.toml
+++ b/omnipaxos/tests/config/test.toml
@@ -1,7 +1,7 @@
 [ble_test]
 wait_timeout_ms = 3000
 num_threads = 8
-num_nodes = 10
+num_nodes = 5
 election_timeout_ms = 100
 storage_type = { type = "Memory" }
 
@@ -13,7 +13,7 @@ num_proposals = 2000
 storage_type = { type = "Memory" }
 
 [unicache_test]
-wait_timeout_ms = 3000
+wait_timeout_ms = 10000
 num_threads = 8
 num_nodes = 5
 num_proposals = 1000
@@ -21,33 +21,33 @@ num_iterations = 2
 storage_type = { type = "Memory" }
 
 [flexible_quorum_test]
-wait_timeout_ms = 8000
+wait_timeout_ms = 10000
 num_threads = 8
 num_nodes = 8
 flexible_quorum = [6, 3]
 
 [proposal_test]
-wait_timeout_ms = 5000
+wait_timeout_ms = 10000
 num_threads = 8
-num_nodes = 7
+num_nodes = 5
 storage_type = { type = "Memory" }
 
 [reconnect_test]
-wait_timeout_ms = 3000
+wait_timeout_ms = 10000
 num_threads = 8
 num_nodes = 5
 resend_message_timeout_ms = 500
 storage_type = { type = "Memory" }
 
 [recovery_test]
-wait_timeout_ms = 7000
+wait_timeout_ms = 10000
 num_threads = 8
 num_nodes = 3
 num_proposals = 100
 storage_type = { type = "Persistent" }
 
 [trim_test]
-wait_timeout_ms = 3000
+wait_timeout_ms = 10000
 num_threads = 8
 num_nodes = 3
 num_proposals = 2000
@@ -55,17 +55,17 @@ trim_idx = 1000
 storage_type = { type = "Memory" }
 
 [batching_test]
-wait_timeout_ms = 3000
+wait_timeout_ms = 10000
 num_threads = 8
 num_nodes = 3
 batch_size = 31
 num_proposals = 310
-storage_type = { type = "Persistent" }
+storage_type = { type = "Memory" }
 
 [atomic_storage_test]
 num_nodes = 3
 storage_type = { type = "Broken" }
 
 [sync_test]
-wait_timeout_ms = 8000
+wait_timeout_ms = 10000
 num_nodes = 3
diff --git a/omnipaxos/tests/recovery_test.rs b/omnipaxos/tests/recovery_test.rs
index f4f11dc..7510602 100644
--- a/omnipaxos/tests/recovery_test.rs
+++ b/omnipaxos/tests/recovery_test.rs
@@ -6,7 +6,7 @@ use serial_test::serial;
 use std::{thread, time::Duration};
 use utils::{verification::verify_log, StorageType, TestConfig, TestSystem, Value};
 
-const SLEEP_TIMEOUT: Duration = Duration::from_secs(1);
+const SLEEP_TIMEOUT: Duration = Duration::from_secs(5);
 
 #[test]
 #[serial]