From 687d66b003dcf77677af300484731fb3c86fd5e1 Mon Sep 17 00:00:00 2001 From: noname0443 Date: Tue, 8 Oct 2024 15:35:44 +0300 Subject: [PATCH] fix timeout --- tests/images/copy_keys.sh | 1 - tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/images/copy_keys.sh b/tests/images/copy_keys.sh index 20d4d5e..aec153a 100755 --- a/tests/images/copy_keys.sh +++ b/tests/images/copy_keys.sh @@ -6,7 +6,6 @@ done for i in mysql1 mysql2 mysql3; do docker cp mysync_${i}_1:/root/.ssh/id_rsa.pub id_rsa.pub for j in mysql1 mysql2 mysql3; do - cat id_rsa.pub docker exec mysync_${j}_1 /bin/bash -c "echo '$(cat id_rsa.pub)' >>/root/.ssh/authorized_keys" done done diff --git a/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj b/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj index 4eebee7..e6470af 100644 --- a/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj +++ b/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj @@ -276,7 +276,7 @@ (gen/nemesis (fn [] (map gen/once [{:type :info, :f :stop} - {:type :sleep, :value 60}]))) + {:type :sleep, :value 120}]))) (gen/time-limit 600))) :checker mysync-set :remote control/ssh})