Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix init etcd feature flaps #632

Merged
merged 2 commits into from
Apr 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix init_etcd feature flaps
  • Loading branch information
EinKrebs committed Apr 23, 2024
commit 6b0cbbdd60290dc33dd89c417ce953cd96217fb3
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
@@ -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 coordinator 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;
"""
Loading