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 E66B9686FB; Mon, 18 Jan 2021 15:45:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E66B9686FB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1610973951; bh=X9pvuoAFuscudemzcF6N5Zf9YofpXnPefWEgTpyU7k8=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=I+cm4b31b/Ajk4JEg7kpLj36M3y/7M4RI7i58C+mPE5xMvsolkesdMfAMccNvAaAU t9PuhW3dkENDunpF9VK6fxDQlobHOxkjqxxXyUa6KuBdMVbF+Ec8BvxkDAj+V9PzRN 5ojllj+plzDwi3T0qFtMG6+fPAcHZGhL/4vZoHvw= Received: from smtp45.i.mail.ru (smtp45.i.mail.ru [94.100.177.105]) (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 CD20270368 for ; Mon, 18 Jan 2021 15:45:48 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org CD20270368 Received: by smtp45.i.mail.ru with esmtpa (envelope-from ) id 1l1Tul-0003iw-CY; Mon, 18 Jan 2021 15:45:47 +0300 To: Alexander Turenko Date: Mon, 18 Jan 2021 15:45:39 +0300 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD9D0E79FBC973162CD9B382B274FF537389656BC690FF7BBE200894C459B0CD1B973D57C81F74CA302E748B3FBECF79FE2392BE03B42F7614BCE9D323EBD2414F7 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A3DED2DACB82E709C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7F65C230EDDCD559EEA1F7E6F0F101C674E70A05D1297E1BBC6CDE5D1141D2B1C3B237C19C506C74672608C9207B558F5A6B74929217C25239FA2833FD35BB23D9E625A9149C048EE26055571C92BF10F6FD1C55BDD38FC3FD2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8B587F3D2152687E5CA471835C12D1D977C4224003CC836476EB9C4185024447017B076A6E789B0E975F5C1EE8F4F765FC47E2B3C9FBD6C98E3AA81AA40904B5D9CF19DD082D7633A078D18283394535A93AA81AA40904B5D98AA50765F7900637DB48DF2D4F5502D1D81D268191BDAD3D698AB9A7B718F8C442539A7722CA490C13377AFFFEAFD26923F8577A6DFFEA7CE86208BCCEAEE04E93EC92FD9297F6715571747095F342E857739F23D657EF2BD5E8D9A59859A8B6A087F0D4B69734CA089D37D7C0E48F6C5571747095F342E857739F23D657EF2B6825BDBE14D8E7028C9DFF55498CEFB0BD9CCCA9EDD067B1EDA766A37F9254B7 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C4C7A0BC55FA0FE5FCFE91D019DCCD3BAE820ABD631054C973425D40CA2B6BA159B1881A6453793CE9C32612AADDFBE0616A6303C1EEC32EF19510FB958DCE06DB6ED91DBE5ABE359A3485EE9140A7D39D23D4379F09C64C7393EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34D4140D813EC137C6B78260F86212CC53822FF6AA1C6AA25E5A5EF18669B3E0C3D197E190E1117DFD1D7E09C32AA3244C240A22F5F09B02746AB72FF2722F56939CA7333006C390A083B48618A63566E0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojYu4DkwLgf0KEjzUvlga/cA== X-Mailru-Sender: 65CD03CFE33A0EC7A4D6F6B2DF798FE64CA8257CBFB8F2C033EDD0C4E6B5D8687EE248E99A5700A6B08A37556DE0CB7BB7E364AFDB3F206FD953F29DB7D76D89B1E6F68DAE724AB9112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: [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 Starshov via Tarantool-patches Reply-To: Artem Starshov Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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 -- 2.28.0