tarantool / vshard

The new generation of sharding based on virtual buckets
Other
99 stars 30 forks source link

Flaky test `failover/cluster_changes.test.lua` #495

Closed Gerold103 closed 1 week ago

Gerold103 commented 1 month ago

It keeps failing quite often.

================================================================================
TEST                                            PARAMS          RESULT
---------------------------------------------------------------------------
failover/cluster_changes.test.lua                               [ fail ]

Test failed! Result content mismatch:
--- failover/cluster_changes.result Fri Apr 19 08:59:25 2024
+++ /__w/vshard-ee/vshard-ee/test/var/rejects/failover/cluster_changes.reject   Mon Oct 14 18:53:25 2024
@@ -62,7 +62,9 @@
 ...
 vshard.router.info().alerts
 ---
-- - ['UNKNOWN_BUCKETS', '3000 buckets are not discovered']
+- - ['SUBOPTIMAL_REPLICA', 'A current read replica in replicaset 739fe4fb-2850-4cde-96[37](https://github.com/tarantool/vshard-ee/actions/runs/11333356706/job/31517329891?pr=22#step:12:38)-10150724c5eb
+      is not optimal']
+  - ['UNKNOWN_BUCKETS', '3000 buckets are not discovered']
 ...
 reverse_weights()
 ---