From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id D8E234696C3 for ; Sun, 3 May 2020 12:22:54 +0300 (MSK) Received: by mail-lj1-f170.google.com with SMTP id y4so6670478ljn.7 for ; Sun, 03 May 2020 02:22:54 -0700 (PDT) Date: Sun, 3 May 2020 12:22:52 +0300 From: Konstantin Osipov Message-ID: <20200503092252.GA23133@atlas> References: <7965217ceed66d448cee453c690e8d91ba7a841b.1587948306.git.korablev@tarantool.org> <19283eae-5eb9-3edb-2dea-8588874e174b@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19283eae-5eb9-3edb-2dea-8588874e174b@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH v3 3/3] vinyl: clean-up write iterator if vy_task_write_run() fails List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy Cc: tarantool-patches@dev.tarantool.org * Vladislav Shpilevoy [20/05/01 22:16]: > > +-- Give GC some time to operate on. > > +-- > > +fiber.sleep(1) > > 3. GC is synchronous. So if collectgarbage() has returned, GC is done. Unchecked sleeps should be banned from functional tests regardless. -- Konstantin Osipov, Moscow, Russia