Skip to content
Snippets Groups Projects
Commit e95aec95 authored by Alexander V. Tikhonov's avatar Alexander V. Tikhonov Committed by Kirill Yukhin
Browse files

test: move error messages into logs gh-4984

Set error message to log output in test:

  vinyl/snapshot.test.lua
parent c34d1d67
No related branches found
No related tags found
No related merge requests found
......@@ -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
...
......
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment