Tarantool development patches archive
 help / color / mirror / Atom feed
From: Ivan Koptelov <ivan.koptelov@tarantool.org>
To: tarantool-patches@freelists.org, kyukhin@tarantool.org
Cc: Ivan Koptelov <ivan.koptelov@tarantool.org>
Subject: [tarantool-patches] [PATCH] sql: fix flaky collation test
Date: Fri, 29 Mar 2019 12:47:16 +0300	[thread overview]
Message-ID: <20190329094716.94163-1-ivan.koptelov@tarantool.org> (raw)

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

             reply	other threads:[~2019-03-29  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-29  9:47 Ivan Koptelov [this message]
2019-04-01 14:21 ` [tarantool-patches] " Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190329094716.94163-1-ivan.koptelov@tarantool.org \
    --to=ivan.koptelov@tarantool.org \
    --cc=kyukhin@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH] sql: fix flaky collation test' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox