From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladimir Davydov Subject: [PATCH 01/12] test: rename vinyl/info to vinyl/stat Date: Tue, 15 Jan 2019 17:17:10 +0300 Message-Id: <2ce012e2e55dd643452f578915308c83ba3e41b5.1547558871.git.vdavydov.dev@gmail.com> In-Reply-To: References: In-Reply-To: References: To: tarantool-patches@freelists.org List-ID: 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