Skip to content

Commit

Permalink
Fix init etcd feature flaps (#632)
Browse files Browse the repository at this point in the history
* Fix typo

* Fix init_etcd feature flaps
  • Loading branch information
EinKrebs authored Apr 23, 2024
1 parent 6e2e017 commit 35eaf2f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions test/feature/features/init_etcd.feature
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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;
"""
Expand Down

0 comments on commit 35eaf2f

Please sign in to comment.