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 5D9442B132 for ; Tue, 2 Apr 2019 17:26:26 -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 z-wLdQ-3bJDQ for ; Tue, 2 Apr 2019 17:26:26 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 163F22513C for ; Tue, 2 Apr 2019 17:26:26 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 5/6] test: differentiate blocked and closed swim fake fds References: <20190329182526.GD20712@chai> From: Vladislav Shpilevoy Message-ID: <30acf097-25a0-e9a5-4105-10c6feedeac5@tarantool.org> Date: Wed, 3 Apr 2019 00:26:23 +0300 MIME-Version: 1.0 In-Reply-To: <20190329182526.GD20712@chai> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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, Konstantin Osipov Pushed to master. On 29/03/2019 21:25, Konstantin Osipov wrote: > * Vladislav Shpilevoy [19/03/20 14:11]: >> SWIM's fake file descriptors were implemented to test SWIM with >> virtual time and fully controlled network with immediate packet >> delivery. One of their features - API to block a file descriptor >> and test various failures about it. >> >> But blocked fake fd looks the same as closed fd, and it can >> confuse new test's author. Now if an fd is not unblocked at the >> end of a test, it leads to a crash. This commit fixes that via >> adding explicit difference between blocked and closed fd. >> >> Part of #3234 > > OK to push. > > > -- > Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 > http://tarantool.io - www.twitter.com/kostja_osipov >