<HTML><BODY>Corrected and switched on the pre_cleanup routine,<br>which cleanups the schemas and functions between<br>running tests.<br><br>Partly fix #3863<br><br>---<br><br>Travis-ci: <a href="https://travis-ci.org/tarantool/tarantool/builds/498779830" rel=" noopener noreferrer" target="_blank" data-snippet-id="e99cdbdd-cc4a-81e8-5c53-e575c67f6f0e" data-mce-href="https://travis-ci.org/tarantool/tarantool/builds/498779830">https://travis-ci.org/tarantool/tarantool/builds/498779830</a><br> Branch: <a href="https://github.com/tarantool/tarantool/tree/avtikhon/gh-3863-run-cleaner" rel=" noopener noreferrer" target="_blank" data-snippet-id="c1df930-3626-8d16-6782-d05bfea9a060" data-mce-href="https://github.com/tarantool/tarantool/tree/avtikhon/gh-3863-run-cleaner">https://github.com/tarantool/tarantool/tree/avtikhon/gh-3863-run-cleaner</a><br><br>diff --git a/lib/test_suite.py b/lib/test_suite.py<br>index 4c8a75b..721db3c 100644<br>--- a/lib/test_suite.py<br>+++ b/lib/test_suite.py<br>@@ -110,7 +110,7 @@ class TestSuite:<br>                 dict.fromkeys(self.ini[i].split())<br>                 if i in self.ini else dict())<br> <br>-        self.parse_bool_opt('pre_cleanup', False)<br>+        self.parse_bool_opt('pre_cleanup', True)<br>         self.parse_bool_opt('use_unix_sockets', False)<br>         self.parse_bool_opt('use_unix_sockets_iproto', False)<br>         self.parse_bool_opt('is_parallel', False)<br>diff --git a/pre_cleanup.lua b/pre_cleanup.lua<br>index 7702c5a..96be316 100644<br>--- a/pre_cleanup.lua<br>+++ b/pre_cleanup.lua<br>@@ -12,6 +12,13 @@ local function cleanup(self)<br>         box.space[name]:drop()<br>     end)<br> <br>+    local cluster = box.space._cluster:select()<br>+    for _, tuple in pairs(cluster) do<br>+        if tuple[1] ~= box.info.id then<br>+            box.space._cluster:delete(tuple[1])<br>+        end<br>+    end<br>+<br>     local _USER_TYPE = 4<br>     local _USER_NAME = 3<br> <br><br><br><br>-- <br>Alexander Tikhonov</BODY></HTML>