[Tarantool-patches] [PATCH 4/4] replication: add tests for sync replication with snapshots

Sergey Bronnikov sergeyb at tarantool.org
Fri Jul 3 01:46:18 MSK 2020


Unfortunately .result file is not consistent with test source code and
due to this test failed. I have updated it to make test green. Applied
changes below, branch contains updated commit.

diff --git a/test/replication/qsync_snapshots.result b/test/replication/qsync_snapshots.result
index db98f87fd..61cb7164b 100644
--- a/test/replication/qsync_snapshots.result
+++ b/test/replication/qsync_snapshots.result
@@ -129,7 +129,7 @@ box.space.sync:drop()
  | ---
  | ...
 
--- [RFC, Snapshot generation] rolled back operations are not snapshotted
+-- [RFC, Snapshot generation] rolled back operations are not snapshotted.
 -- Testcase setup.
 test_run:switch('default')
  | ---
@@ -190,7 +190,7 @@ box.space.sync:drop()
  | ...
 
 -- [RFC, Snapshot generation] snapshot started on master, then rollback
--- arrived, expected snapshot abort
+-- arrived, expected snapshot abort.
 test_run:switch('default')
  | ---
  | - true
@@ -257,7 +257,7 @@ box.space.sync:drop()
  | ...
 
 -- [RFC, Snapshot generation] snapshot started on replica, then rollback
--- arrived, expected snapshot abort
+-- arrived, expected snapshot abort.
 test_run:switch('default')
  | ---
  | - true

Sergey

On 00:13 Fri 03 Jul , sergeyb at tarantool.org wrote:
> From: Sergey Bronnikov <sergeyb at tarantool.org>
> 
> Part of #5055
> ---
>  test/replication/qsync_snapshots.result   | 362 ++++++++++++++++++++++
>  test/replication/qsync_snapshots.test.lua | 132 ++++++++
>  2 files changed, 494 insertions(+)
>  create mode 100644 test/replication/qsync_snapshots.result
>  create mode 100644 test/replication/qsync_snapshots.test.lua


More information about the Tarantool-patches mailing list