From 35eaf2f18447778e5fc9cfa8bbdacd3ec75f976d Mon Sep 17 00:00:00 2001 From: Yury Frolov <57130330+EinKrebs@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:05:41 +0500 Subject: [PATCH] Fix init etcd feature flaps (#632) * Fix typo * Fix init_etcd feature flaps --- test/feature/features/init_etcd.feature | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test/feature/features/init_etcd.feature b/test/feature/features/init_etcd.feature index eff948510..a4fa62e1e 100644 --- a/test/feature/features/init_etcd.feature +++ b/test/feature/features/init_etcd.feature @@ -1,5 +1,5 @@ Feature: Initialize router metadata from Etcd - Background: + Scenario: Router initialize its metadata from Etcd when no coordinator alive # # Run routers with coordinators # Stop all coordinators @@ -12,17 +12,11 @@ Feature: Initialize router metadata from Etcd """ Given cluster is up and running And host "coordinator2" is stopped - When I run SQL on host "router-admin" - """ - UNREGISTER ROUTER ALL; - """ - Then command return code should be "0" And host "router" is stopped And host "router2" is stopped - - Scenario: Router initialize its metadata from Etcd when no coodinator alive When I run SQL on host "coordinator" """ + UNREGISTER ROUTER ALL; CREATE DISTRIBUTION ds1 COLUMN TYPES integer; CREATE KEY RANGE krid1 FROM 19 ROUTE TO sh1 FOR DISTRIBUTION ds1; """