From e95aec95e864b380f5dd8fcf3d94d818ece01ba4 Mon Sep 17 00:00:00 2001 From: "Alexander V. Tikhonov" <avtikhon@tarantool.org> Date: Sat, 3 Oct 2020 20:12:48 +0300 Subject: [PATCH] test: move error messages into logs gh-4984 Set error message to log output in test: vinyl/snapshot.test.lua --- test/vinyl/snapshot.result | 2 +- test/vinyl/snapshot.test.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/vinyl/snapshot.result b/test/vinyl/snapshot.result index 7c55e47105..1c723ed74f 100644 --- a/test/vinyl/snapshot.result +++ b/test/vinyl/snapshot.result @@ -94,7 +94,7 @@ box.backup.stop() ... -- Check that run files only contain statements -- inserted before checkpoint. -snap_lsn == run_lsn or {snap_lsn, run_lsn} +snap_lsn == run_lsn or require('log').error("snap_lsn = " .. snap_lsn .. ", run_lsn = " .. run_lsn) --- - true ... diff --git a/test/vinyl/snapshot.test.lua b/test/vinyl/snapshot.test.lua index ba8e93a8b0..0667dcae00 100644 --- a/test/vinyl/snapshot.test.lua +++ b/test/vinyl/snapshot.test.lua @@ -57,7 +57,7 @@ box.backup.stop() -- Check that run files only contain statements -- inserted before checkpoint. -snap_lsn == run_lsn or {snap_lsn, run_lsn} +snap_lsn == run_lsn or require('log').error("snap_lsn = " .. snap_lsn .. ", run_lsn = " .. run_lsn) s:drop() -- GitLab