Skip to content

Commit

Permalink
one more timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Shevchuk committed Oct 9, 2024
1 parent 193ef65 commit 0eaa024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
(try
(with-conn [c conn]
(case (:f op)
:read (timeout 60000 (assoc op :type :info, :error "read-timeout")
:read (timeout 120000 (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"]
Expand Down Expand Up @@ -276,7 +276,7 @@
(gen/nemesis
(fn [] (map gen/once
[{:type :info, :f :stop}
{:type :sleep, :value 120}])))
{:type :sleep, :value 240}])))
(gen/time-limit 600)))
:checker mysync-set
:remote control/ssh})

0 comments on commit 0eaa024

Please sign in to comment.