From b94ad0df49c4e3db5c4729f7f07e8a537c199116 Mon Sep 17 00:00:00 2001 From: Nicolas Ayache Date: Wed, 24 Aug 2022 16:31:49 +0200 Subject: [PATCH] SCORU/Tezt: fix timeout test logic. --- tezt/tests/sc_rollup.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tezt/tests/sc_rollup.ml b/tezt/tests/sc_rollup.ml index 4d037ea7c388..2dd583624b1f 100644 --- a/tezt/tests/sc_rollup.ml +++ b/tezt/tests/sc_rollup.ml @@ -2751,7 +2751,7 @@ let test_timeout protocols = let* () = cement [c1; c2] in let module M = Operation.Manager in - (* [operator2] starts a dispute. Its opponent, [operator1], won't play. *) + (* [operator2] starts a dispute, but won't be playing then. *) let* () = bake_operation_via_rpc client @@ M.make ~source:operator2 @@ -2761,7 +2761,7 @@ let test_timeout protocols = let* () = repeat (timeout_period + 1) (fun () -> Client.bake_for_and_wait client) in - timeout ~sc_rollup ~staker:operator2.public_key_hash client) + timeout ~sc_rollup ~staker:operator1.public_key_hash client) protocols let test_refutation_reward_and_punishment protocols = -- GitLab