From b1d91509e278b4e53cd26186d21a848233f81ffd Mon Sep 17 00:00:00 2001 From: mechanik20051988 <mechanik20051988@tarantool.org> Date: Thu, 21 Oct 2021 17:16:34 +0300 Subject: [PATCH] test: decrease instance file name length The maximal unix socket file length is 108 symbols on Linux, so we should decrease file name to fit in this size. --- test/box/gh-5304-insert_during_recovery.result | 2 +- test/box/gh-5304-insert_during_recovery.test.lua | 2 +- test/box/gh-5304-replace_during_recovery.result | 2 +- test/box/gh-5304-replace_during_recovery.test.lua | 2 +- ...04-insert_during_recovery.lua => insert_during_recovery.lua} | 0 ...-replace_during_recovery.lua => replace_during_recovery.lua} | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename test/box/{gh-5304-insert_during_recovery.lua => insert_during_recovery.lua} (100%) rename test/box/{gh-5304-replace_during_recovery.lua => replace_during_recovery.lua} (100%) diff --git a/test/box/gh-5304-insert_during_recovery.result b/test/box/gh-5304-insert_during_recovery.result index 09a905bb49..7f76beff6c 100644 --- a/test/box/gh-5304-insert_during_recovery.result +++ b/test/box/gh-5304-insert_during_recovery.result @@ -8,7 +8,7 @@ test_run = env.new() | --- | ... -test_run:cmd('create server test with script="box/gh-5304-insert_during_recovery.lua"') +test_run:cmd('create server test with script="box/insert_during_recovery.lua"') | --- | - true | ... diff --git a/test/box/gh-5304-insert_during_recovery.test.lua b/test/box/gh-5304-insert_during_recovery.test.lua index 2846499c7f..cc35c10709 100644 --- a/test/box/gh-5304-insert_during_recovery.test.lua +++ b/test/box/gh-5304-insert_during_recovery.test.lua @@ -3,7 +3,7 @@ env = require('test_run') test_run = env.new() -test_run:cmd('create server test with script="box/gh-5304-insert_during_recovery.lua"') +test_run:cmd('create server test with script="box/insert_during_recovery.lua"') test_run:cmd('start server test with args="none"') test_run:cmd('switch test') s1 = box.schema.space.create('temp', {temporary=true}) diff --git a/test/box/gh-5304-replace_during_recovery.result b/test/box/gh-5304-replace_during_recovery.result index 2d249aabf1..0b39d58ca6 100644 --- a/test/box/gh-5304-replace_during_recovery.result +++ b/test/box/gh-5304-replace_during_recovery.result @@ -8,7 +8,7 @@ test_run = env.new() | --- | ... -test_run:cmd('create server test with script="box/gh-5304-replace_during_recovery.lua"') +test_run:cmd('create server test with script="box/replace_during_recovery.lua"') | --- | - true | ... diff --git a/test/box/gh-5304-replace_during_recovery.test.lua b/test/box/gh-5304-replace_during_recovery.test.lua index 1bbb1a9ff0..b1902a2ae6 100644 --- a/test/box/gh-5304-replace_during_recovery.test.lua +++ b/test/box/gh-5304-replace_during_recovery.test.lua @@ -3,7 +3,7 @@ env = require('test_run') test_run = env.new() -test_run:cmd('create server test with script="box/gh-5304-replace_during_recovery.lua"') +test_run:cmd('create server test with script="box/replace_during_recovery.lua"') test_run:cmd('start server test') test_run:cmd('switch test') s0 = box.schema.space.create('test') diff --git a/test/box/gh-5304-insert_during_recovery.lua b/test/box/insert_during_recovery.lua similarity index 100% rename from test/box/gh-5304-insert_during_recovery.lua rename to test/box/insert_during_recovery.lua diff --git a/test/box/gh-5304-replace_during_recovery.lua b/test/box/replace_during_recovery.lua similarity index 100% rename from test/box/gh-5304-replace_during_recovery.lua rename to test/box/replace_during_recovery.lua -- GitLab