Skip to content
Snippets Groups Projects
Commit 970777f8 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Add a test case for box.info.vinyl().memory.min_lsn

parent b6d0441c
No related branches found
No related tags found
No related merge requests found
......@@ -359,6 +359,27 @@ box.info.vinyl().performance.write_count - old_count == 8
space:drop()
---
...
space = box.schema.space.create('test', { engine = 'vinyl' })
---
...
index = space:create_index('primary')
---
...
space:replace({1})
---
- [1]
...
box.info.vinyl().memory.min_lsn == box.info.vclock[1]
---
- true
...
space:drop()
---
...
box.info.vinyl().memory.min_lsn
---
- 9223372036854775807
...
test_run:cmd('switch default')
---
- true
......
......@@ -49,5 +49,12 @@ space:insert({4, 4})
box.info.vinyl().performance.write_count - old_count == 8
space:drop()
space = box.schema.space.create('test', { engine = 'vinyl' })
index = space:create_index('primary')
space:replace({1})
box.info.vinyl().memory.min_lsn == box.info.vclock[1]
space:drop()
box.info.vinyl().memory.min_lsn
test_run:cmd('switch default')
test_run:cmd("stop server vinyl_info")
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