From 72686ad48d01fc059085663dfeb60e46ef74d209 Mon Sep 17 00:00:00 2001 From: Aleksandr Shevchuk Date: Tue, 15 Oct 2024 15:39:45 +0300 Subject: [PATCH] one more attempt --- .github/workflows/docker-jepsen.yml | 4 ++++ tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-jepsen.yml b/.github/workflows/docker-jepsen.yml index 1985556b..3a945b6a 100644 --- a/.github/workflows/docker-jepsen.yml +++ b/.github/workflows/docker-jepsen.yml @@ -3,6 +3,10 @@ name: Jepsen tests on: schedule: - cron: '0 0 * * *' + push: + branches: [ master ] + pull_request: + branches: [ master ] env: GO_VERSION: 1.22.4 diff --git a/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj b/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj index 85a3e938..c40da286 100644 --- a/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj +++ b/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj @@ -93,7 +93,7 @@ (try (with-conn [c conn] (case (:f op) - :read (timeout 600000 (assoc op :type :info, :error "read-timeout") + :read (timeout 1200000 (assoc op :type :info, :error "read-timeout") (cond (= (count (j/query c ["show slave status for channel ''"])) 0) (assoc op :type :ok, :value (->> (j/query c ["select value from test1.test_set"] @@ -276,7 +276,7 @@ (gen/nemesis (fn [] (map gen/once [{:type :info, :f :stop} - {:type :sleep, :value 600}]))) + {:type :sleep, :value 1200}]))) (gen/time-limit 1200))) :checker mysync-set :remote control/ssh})