Skip to content

Commit fde42a6

Browse files
committed
Remove unused pretest_clean.lua script
After the previous commit in the current patchset we don't use the same tarantool server process from test to test and we don't need to use any scripts like 'pretest_clean.lua' to cleanup it between tests. So this patch removes this script.
1 parent 41e7a26 commit fde42a6

File tree

2 files changed

+0
-317
lines changed

2 files changed

+0
-317
lines changed

lib/tarantool_server.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ def flush(self, ts, command_log, command_exe):
239239

240240
def exec_loop(self, ts):
241241
self.write_result_file_version_line()
242-
if not self.execute_pretest_clean(ts):
243-
return
244242
if not self.execute_pragma_sql_default_engine(ts):
245243
return
246244

@@ -789,10 +787,6 @@ def copy_files(self):
789787
shutil.copy(tntctl_file, self.vardir)
790788
shutil.copy(os.path.join(self.TEST_RUN_DIR, 'test_run.lua'),
791789
self.vardir)
792-
# Need to use get here because of nondefault servers doesn't have ini.
793-
if self.ini.get('pretest_clean', False):
794-
shutil.copy(os.path.join(self.TEST_RUN_DIR, 'pretest_clean.lua'),
795-
self.vardir)
796790

797791
if self.snapshot_path:
798792
# Copy snapshot to the workdir.

pretest_clean.lua

Lines changed: 0 additions & 311 deletions
This file was deleted.

0 commit comments

Comments
 (0)