Skip to content

Commit e034437

Browse files
authored
remove flaky test case of replicationset.Do (#5781)
Signed-off-by: Ben Ye <[email protected]>
1 parent 0ecf317 commit e034437

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pkg/ring/replication_set_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,6 @@ func TestReplicationSet_Do(t *testing.T) {
212212
maxUnavailableZones: 2,
213213
want: []interface{}{1, 1, 1, 1, 1, 1},
214214
},
215-
{
216-
name: "max unavailable zones = 1, zoneResultsQuorum = false, should contain 5 results (2 from zone1, 2 from zone2 and 1 from zone3)",
217-
instances: []InstanceDesc{{Zone: "zone1"}, {Zone: "zone2"}, {Zone: "zone3"}, {Zone: "zone1"}, {Zone: "zone2"}, {Zone: "zone3"}},
218-
f: func(c context.Context, id *InstanceDesc) (interface{}, error) {
219-
return 1, nil
220-
},
221-
maxUnavailableZones: 1,
222-
want: []interface{}{1, 1, 1, 1, 1},
223-
zoneResultsQuorum: false,
224-
},
225215
{
226216
name: "max unavailable zones = 1, zoneResultsQuorum = true, should contain 4 results (2 from zone1, 2 from zone2)",
227217
instances: []InstanceDesc{{Zone: "zone1"}, {Zone: "zone2"}, {Zone: "zone3"}, {Zone: "zone1"}, {Zone: "zone2"}, {Zone: "zone3"}},

0 commit comments

Comments
 (0)