From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 2E92E27BD4 for ; Fri, 14 Sep 2018 21:13:06 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nc2WY3NHhcNo for ; Fri, 14 Sep 2018 21:13:06 -0400 (EDT) Received: from smtp3.mail.ru (smtp3.mail.ru [94.100.179.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 8F2E11FD40 for ; Fri, 14 Sep 2018 21:13:05 -0400 (EDT) Date: Sat, 15 Sep 2018 04:13:05 +0300 From: Alexander Turenko Subject: [tarantool-patches] Re: [PATCH] test: enable parallel mode for wall_off tests Message-ID: <20180915011305.omkpvuyfbjcc2xj4@tkn_work_nb> References: <20180913163007.82212-1-sergw@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180913163007.82212-1-sergw@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Sergei Voronezhskii Cc: tarantool-patches@freelists.org Hi! We look into the problem with Sergei together. Found failing trace: - [wal_off/wal_mode.test.lua, null] - [wal_off/tuple.test.lua, null] - [wal_off/expirationd.test.lua, null] wal_mode.test.lua creates a snapshot (it contains space 'tweedledum'), then tuple.test.lua restarts the default server, it bootstraps from the snapshot (because WAL is off) and then expirationd.test.lua tries to create the space again and fails. The fix: diff --git a/test/wal_off/tuple.test.lua b/test/wal_off/tuple.test.lua index 19415a92d..859438f71 100644 --- a/test/wal_off/tuple.test.lua +++ b/test/wal_off/tuple.test.lua @@ -1,6 +1,6 @@ env = require('test_run') test_run = env.new() -test_run:cmd("restart server default") +test_run:cmd("restart server default with cleanup=1") -- -- Test various tuple bugs which do not require a write ahead log. -- WBR, Alexander Turenko. On Thu, Sep 13, 2018 at 07:30:07PM +0300, Sergei Voronezhskii wrote: > All tests in one suite must use different spaces, because this can > cause tests to affect each other. > > Part of #2436 > --- > test/wal_off/expirationd.result | 2 +- > test/wal_off/expirationd.test.lua | 2 +- > test/wal_off/oom.result | 2 +- > test/wal_off/oom.test.lua | 2 +- > test/wal_off/suite.ini | 2 +- > test/wal_off/wal_mode.result | 2 +- > test/wal_off/wal_mode.test.lua | 2 +- > 7 files changed, 7 insertions(+), 7 deletions(-) >