From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id A028E6F3C7; Fri, 26 Mar 2021 19:03:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A028E6F3C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616774602; bh=p79okHNqhOG4KThfaOgWAVrEIFE+s/BFAj8yVMtTqdk=; h=In-Reply-To:Date:References:To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=WLRKCPZ901K8an1q5T6glhBrvIrlAA6+1gmsbFA2O0SoP0Jd7mB4zxxJQktRoF54o ta8FgH5TwQaKGlC/GVYY4yRoKCwpAUOxigdRXpyLpBYSG6iFCWmqmIO+HIKdo8mzV5 jlFxAsZPEEOZeio2gtTjLScwNouNF6kL2MWsHbMo= Received: from smtp57.i.mail.ru (smtp57.i.mail.ru [217.69.128.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 1CEDA6F3C7 for ; Fri, 26 Mar 2021 19:03:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1CEDA6F3C7 Received: by smtp57.i.mail.ru with esmtpa (envelope-from ) id 1lPovh-0007X1-AZ; Fri, 26 Mar 2021 19:03:21 +0300 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) In-Reply-To: Date: Fri, 26 Mar 2021 19:03:20 +0300 Content-Transfer-Encoding: 7bit Message-Id: <08EA62DA-054B-44AD-852B-4EFA40C457B1@tarantool.org> References: To: Sergey Kaplun X-Mailer: Apple Mail (2.3654.60.0.2.21) X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD9ED7173E37F4E329498ADEA61F680B110809A4DE3E6FC56EA182A05F5380850409227024A5AEBF299909C209C7A8C20135ED6ADC4484F7E0C8C17E4D4CAFB34EA X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7AD2F2D6F6013FF7FC2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7F2919D563845004AEA1F7E6F0F101C67CDEEF6D7F21E0D1D174C73DBBBFC7664183FC4D1B98D6C03D692B6DBCD89BBE27A016F2C2055AC1B389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C07E7E81EEA8A9722B8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6D082881546D93491CC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8D32BA5DBAC0009BE9E8FC8737B5C22490EF8A097A92E1CE276E601842F6C81A12EF20D2F80756B5F7E9C4E3C761E06A776E601842F6C81A127C277FBC8AE2E8B62CF590D480CCCC93AA81AA40904B5D9DBF02ECDB25306B2201CA6A4E26CD07C3BBE47FD9DD3FB595F5C1EE8F4F765FCA83251EDC214901ED5E8D9A59859A8B642416645EBD45DC2089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A24A6D60772A99906F8E1CD14B953EB46DDEDF84C3C50FD687355D89D7DBCDD132 X-C1DE0DAB: 0D63561A33F958A5D29AA0278589F16977D36E35AA81C408D2FB0D82B14078BAD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3482189E76C6218D8FDC1F107B0C1EB1A57BFF4198BAAC3CB1CBA9A965224197487CC82BEBEBA1E4671D7E09C32AA3244C68DC00379276476CE4E3BA5DB260E42A63871F383B54D9B3FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojapPp7P/VpAiJURz5uM/1dQ== X-Mailru-Sender: 455D65AE3A139168626D8C76E86D3AC05C2A23399AAEC4173A1BA49E4F519F1DDDAC019A3742A8B676D79013C85012CDC77752E0C033A69E4BBE7EBD99111A499D0AB74157175C036C18EFA0BB12DBB0 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v2 luajit 29/30] test: disable PUC Lua hanging GC test X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Ostanevich via Tarantool-patches Reply-To: Sergey Ostanevich Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Can it be more relevant fix s/1000/n+1000/ for these two loops? Although I start talking about an in-place fix, rather than a follow-up. LGTM. Sergos > On 26 Mar 2021, at 10:43, Sergey Kaplun wrote: > > Tarantool has too many objects at start. `gcinfo()` result is always > greater than 1000 expected by the test. It leads to infinite loop in the > test. > > This patch disables GC test leading to hanging for Tarantool binary. > > Part of tarantool/tarantool#5845 > Part of tarantool/tarantool#4473 > --- > test/PUC-Lua-5.1-tests/gc.lua | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/test/PUC-Lua-5.1-tests/gc.lua b/test/PUC-Lua-5.1-tests/gc.lua > index 072bbe9..7f9880f 100644 > --- a/test/PUC-Lua-5.1-tests/gc.lua > +++ b/test/PUC-Lua-5.1-tests/gc.lua > @@ -133,9 +133,12 @@ do > local a = {} > until gcinfo() > 1000 > collectgarbage"restart" > - repeat > - local a = {} > - until gcinfo() < 1000 > + -- Tarantool has too many objects at start. `gcinfo()` result > + -- is always greater than 1000. > + -- LuaJIT: The test is disabled for Tarantool binary. > + -- repeat > + -- local a = {} > + -- until gcinfo() < 1000 > end > > lim = 15 > -- > 2.31.0 >