* [Tarantool-patches] [PATCH v1] test: move error messages into logs gh-4984
@ 2020-10-03 18:05 Alexander V. Tikhonov
0 siblings, 0 replies; only message in thread
From: Alexander V. Tikhonov @ 2020-10-03 18:05 UTC (permalink / raw)
To: Kirill Yukhin; +Cc: tarantool-patches
Set error message to log output in test:
vinyl/snapshot.test.lua
---
Github: https://github.com/tarantool/tarantool/tree/avtikhon/flaky-checksums
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 7c55e4710..1c723ed74 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 ba8e93a8b..0667dcae0 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()
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-03 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-03 18:05 [Tarantool-patches] [PATCH v1] test: move error messages into logs gh-4984 Alexander V. Tikhonov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox