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 7D4006C7D2; Fri, 22 Jan 2021 16:28:40 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7D4006C7D2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1611322120; bh=2OdmjPfxfpk0DNzsJkR+I4G9LGy/eDJDyrQtJS+OZko=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=LUApl+gpMtmTxsH5HAAPkSMRcqcTiPXmsAcbbLkhiv0KfYGAXWfVU5/idM78nBthk fcOK+BDI+M55E2+BZWZ/aeZVKGj5lVM5rmi6KLfr8vzTm54Hw8jgf4H4lWHAZSdLu7 4VvF2a6Gl3QoK/gae0isqcvBiLG2ok8JsVVEQiBs= Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 06ACB6C7D2 for ; Fri, 22 Jan 2021 16:27:44 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 06ACB6C7D2 Received: by mail-lf1-f48.google.com with SMTP id m22so7511369lfg.5 for ; Fri, 22 Jan 2021 05:27:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RF6DnVGxX/2dohsKUdVTMQ91actrlf9WOe18QGh7GAg=; b=oZySSYoRzWDc0iIRYP8VkYzcaEUnqGAMg0u7gMYpUL1wYbkmqKixD6y4NmyON3GiVO S9vNoY9FeIPZa0c+QdoW0ZfGneuTItrCrQBl7yjDLygyv8s8Dh4vSWd67D0kllxBvnAF 8HuFrQ4rB+6W4A5eMfpH47iYRSZUycq/59pYVE+5q87Foy7C4U/yIssReSqJepX3rH5P uZOsVgmCJgdqbctJ04OJ7fY+mkUf0SzSWpHIUnMDYWSyALZl491OXYIoO/qPZdXPf3BR sOWTrDirFN7diPO1N3PlqYygSwR4IhWUL4HH1qN6H2N3ivXQ2v1T8n8RwcdhZWWY4ZxF wQHA== X-Gm-Message-State: AOAM532ZByYLnL3nMigGWvREaeNvyzqNsawDyEQyZq+3K0Hb8T6xMQp+ o8dtj4VUlh5LUXKpZz/pyeOOg6rColk= X-Google-Smtp-Source: ABdhPJwUUTcBANvrYPj5MVxLXUJtfJL6FXhCLeX13OyDC07Nqoc6sQ5oKVFqjSSo3o8Nueq4Yk0llg== X-Received: by 2002:a05:6512:304d:: with SMTP id b13mr2277076lfb.555.1611322063104; Fri, 22 Jan 2021 05:27:43 -0800 (PST) Received: from grain.localdomain ([5.18.91.94]) by smtp.gmail.com with ESMTPSA id y20sm186328ljh.124.2021.01.22.05.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 05:27:41 -0800 (PST) Received: by grain.localdomain (Postfix, from userid 1000) id A06E45609D2; Fri, 22 Jan 2021 16:27:04 +0300 (MSK) To: tml Date: Fri, 22 Jan 2021 16:26:57 +0300 Message-Id: <20210122132700.272816-4-gorcunov@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210122132700.272816-1-gorcunov@gmail.com> References: <20210122132700.272816-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 3/6] test/unit: snap_quorum_delay -- stop using txn_set_flag 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: Cyrill Gorcunov via Tarantool-patches Reply-To: Cyrill Gorcunov Cc: Vladislav Shpilevoy Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Signed-off-by: Cyrill Gorcunov --- test/unit/snap_quorum_delay.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit/snap_quorum_delay.cc b/test/unit/snap_quorum_delay.cc index b9d4cc6c4..ec78f837d 100644 --- a/test/unit/snap_quorum_delay.cc +++ b/test/unit/snap_quorum_delay.cc @@ -98,8 +98,7 @@ txn_process_func(va_list ap) struct txn *txn = txn_begin(); txn->fiber = fiber(); /* Simulate a sync transaction. */ - txn_set_flag(txn, TXN_WAIT_SYNC); - txn_set_flag(txn, TXN_WAIT_ACK); + txn->flags |= TXN_WAIT_SYNC | TXN_WAIT_ACK; /* * The true way to push the transaction to limbo is to call * txn_commit() for sync transaction. But, if txn_commit() -- 2.29.2