From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 3AE6670368; Mon, 18 Jan 2021 15:47:51 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 3AE6670368 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1610974071; bh=IyJA0c18F+gfpSySkRYsLidRUIy2vuEDK10gqhm1Lew=; h=To:References:Date:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=PuA/SCE64PhcK+DXQ919eq4FKmfgm+KprRSanrvf8UgnusqnAqSkmSD3jy8L2rBWB xI0KVXmtnQiRLjzOJ+ew111/ovl0aKBmg7gEefo6ck2Gl00+IXkoSCj3YDoQuYH8t8 Kw9xR5C//MyxnZoJa3rms2wXsF6L74apVRbyCUeg= Received: from smtp29.i.mail.ru (smtp29.i.mail.ru [94.100.177.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 8BA68686FB for ; Mon, 18 Jan 2021 15:47:28 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 8BA68686FB Received: by smtp29.i.mail.ru with esmtpa (envelope-from ) id 1l1TwN-0006sx-Os; Mon, 18 Jan 2021 15:47:28 +0300 To: Alexander Turenko References: Message-ID: Date: Mon, 18 Jan 2021 15:47:27 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D0E79FBC973162CDDA1A336500443B3AD46BC604C28ED16A00894C459B0CD1B94DC814C3157C50A32CE05FA0C7204862B2A10215C24BEC35B242013FB95F71DC X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7DECE8D0A5E25C0FCEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006373768BF035B57E5168638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FCFE91D019DCCD3BAEAF4BA0F19862D8041E0ACF1D40F30F52389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C0DEC8C2C8BCD2534D8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B64854413538E1713FCC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8D32BA5DBAC0009BE9E8FC8737B5C22499D644F32DDCCDC1876E601842F6C81A12EF20D2F80756B5F7E9C4E3C761E06A776E601842F6C81A127C277FBC8AE2E8B3D8DF6E11D5D7DA03AA81AA40904B5D9DBF02ECDB25306B2B25CBF701D1BE8734AD6D5ED66289B5278DA827A17800CE7A2A9C9A00CC75FB067F23339F89546C5A8DF7F3B2552694A6FED454B719173D6725E5C173C3A84C33C2D715BE4CE1EFB35872C767BF85DA2F004C906525384306FED454B719173D6462275124DF8B9C9DE2850DD75B2526BE5BFE6E7EFDEDCD789D4C264860C145E X-C1DE0DAB: 0D63561A33F958A5987DB9356A16022BA6C233FA6607DAC63B5551812B5F262CD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA758F9E841AEAEC4F2C410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34AC632F0BE69382F3763471DE804F0DD93212E850F84BADCFE375AFA1CC76C38937EFD215791CB5D81D7E09C32AA3244CDC6413FBD94C7FB20EFD8F6D9046AEB0B018FE5BB746DCD1927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojYu4DkwLgf0KOxcmsrFsyKQ== X-Mailru-Sender: 65CD03CFE33A0EC7A4D6F6B2DF798FE6B0CEAB2FB98323B0BB6C1185A3A57F6016BEA2DCA1748E31B08A37556DE0CB7BB7E364AFDB3F206FD953F29DB7D76D89B1E6F68DAE724AB9112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCHv4 0/3] test: -e assert(false) fixup X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Artem via Tarantool-patches Reply-To: Artem Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" P.S.: Branch:https://github.com/tarantool/tarantool/tree/artemreyt/gh-4983-fix-test 18.01.2021 15:45, Artem Starshov пишет: > Changes in v2: > - changed commit message name > - added 'follows up #4983' > - removed collecting details about process due to Linux specific > - left only the last commit because the previous was pushed to master > and the first one is empty after the review > - added comment describing the reason of using timeout module in > presence of built-in 'popen' module > > Changes in v3: > - split one commit into two: first - increase timeout, second - move > helper functions to separated module > > Changes in v4: > - split two commits into 3: first - increase timeout, second - add module > process_timeout, third - modify -e assert(false) test using process_timeout. > Creating module `process_timeout` in separate commit is convenient for working > under other tests using this module while this patch isn't pushed on master. > > Artem Starshov (3): > test: change timeout in -e assert(false) test > test: add separated module for proccess operations with timeout > test: change -e assert(false) test using process_timeout module > > .../gh-4983-tnt-e-assert-false-hangs.test.lua | 70 ++++--------------- > test/app-tap/lua/process_timeout.lua | 59 ++++++++++++++++ > test/app-tap/suite.ini | 2 +- > 3 files changed, 74 insertions(+), 57 deletions(-) > create mode 100644 test/app-tap/lua/process_timeout.lua >