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 39A792ADEC for ; Fri, 29 Mar 2019 05:47:32 -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 1VzHB-waZ118 for ; Fri, 29 Mar 2019 05:47:32 -0400 (EDT) Received: from smtp59.i.mail.ru (smtp59.i.mail.ru [217.69.128.39]) (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 7269F2ADE1 for ; Fri, 29 Mar 2019 05:47:31 -0400 (EDT) From: Ivan Koptelov Subject: [tarantool-patches] [PATCH] sql: fix flaky collation test Date: Fri, 29 Mar 2019 12:47:16 +0300 Message-Id: <20190329094716.94163-1-ivan.koptelov@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: tarantool-patches@freelists.org, kyukhin@tarantool.org Cc: Ivan Koptelov Sometimes this test failed because collation 'c' was not dropped automatically. Now it is always dropped manually, so the problem is no more. --- Branch : https://github.com/tarantool/tarantool/tree/sudobobo/fix-flaky-collation-test Issue : None test/sql/collation.result | 3 +++ test/sql/collation.test.lua | 1 + 2 files changed, 4 insertions(+) diff --git a/test/sql/collation.result b/test/sql/collation.result index 90a9f728c..527c431e5 100644 --- a/test/sql/collation.result +++ b/test/sql/collation.result @@ -796,3 +796,6 @@ box.space._collation.index.name:get({'c'}) --- - [4, 'c', 1, 'ICU', 'unicode', {'strength': 'tertiary'}] ... +box.internal.collation.drop('c') +--- +... diff --git a/test/sql/collation.test.lua b/test/sql/collation.test.lua index 9549cf237..a83cb26d7 100644 --- a/test/sql/collation.test.lua +++ b/test/sql/collation.test.lua @@ -313,3 +313,4 @@ box.space.JJ:drop() -- box.internal.collation.create('c', 'ICU', 'unicode') box.space._collation.index.name:get({'c'}) +box.internal.collation.drop('c') -- 2.20.1