[tarantool-patches] Re: [PATCH 5/6] test: differentiate blocked and closed swim fake fds

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Apr 3 00:26:23 MSK 2019


Pushed to master.

On 29/03/2019 21:25, Konstantin Osipov wrote:
> * Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [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
> 




More information about the Tarantool-patches mailing list