[PATCH 01/12] test: rename vinyl/info to vinyl/stat

Vladimir Davydov vdavydov.dev at gmail.com
Tue Jan 15 17:17:10 MSK 2019


The test was called 'info' in the first place, because back when it was
introduced vinyl statistics were reported by 'info' method. Today, stats
are reported by 'stat' so let's rename the test as well to conform.
---
 test/vinyl/{info.lua => stat.lua}           | 0
 test/vinyl/{info.result => stat.result}     | 2 +-
 test/vinyl/{info.test.lua => stat.test.lua} | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename test/vinyl/{info.lua => stat.lua} (100%)
 rename test/vinyl/{info.result => stat.result} (99%)
 rename test/vinyl/{info.test.lua => stat.test.lua} (99%)

diff --git a/test/vinyl/info.lua b/test/vinyl/stat.lua
similarity index 100%
rename from test/vinyl/info.lua
rename to test/vinyl/stat.lua
diff --git a/test/vinyl/info.result b/test/vinyl/stat.result
similarity index 99%
rename from test/vinyl/info.result
rename to test/vinyl/stat.result
index 922728ab..c4a0e632 100644
--- a/test/vinyl/info.result
+++ b/test/vinyl/stat.result
@@ -4,7 +4,7 @@ test_run = require('test_run').new()
 -- Since we store LSNs in data files, the data size may differ
 -- from run to run. Deploy a new server to make sure it will be
 -- the same so that we can check it.
-test_run:cmd('create server test with script = "vinyl/info.lua"')
+test_run:cmd('create server test with script = "vinyl/stat.lua"')
 ---
 - true
 ...
diff --git a/test/vinyl/info.test.lua b/test/vinyl/stat.test.lua
similarity index 99%
rename from test/vinyl/info.test.lua
rename to test/vinyl/stat.test.lua
index ef2fd79e..8b296b9e 100644
--- a/test/vinyl/info.test.lua
+++ b/test/vinyl/stat.test.lua
@@ -3,7 +3,7 @@ test_run = require('test_run').new()
 -- Since we store LSNs in data files, the data size may differ
 -- from run to run. Deploy a new server to make sure it will be
 -- the same so that we can check it.
-test_run:cmd('create server test with script = "vinyl/info.lua"')
+test_run:cmd('create server test with script = "vinyl/stat.lua"')
 test_run:cmd('start server test')
 test_run:cmd('switch test')
 
-- 
2.11.0




More information about the Tarantool-patches mailing list