@@ -24,7 +24,6 @@ import (
2424
2525 "go.etcd.io/etcd/api/v3/version"
2626 "go.etcd.io/etcd/client/pkg/v3/fileutil"
27- "go.etcd.io/etcd/server/v3/etcdserver"
2827 "go.etcd.io/etcd/tests/v3/framework/e2e"
2928 "go.etcd.io/etcd/tests/v3/robustness/client"
3029 "go.etcd.io/etcd/tests/v3/robustness/failpoint"
@@ -40,16 +39,16 @@ type TrafficProfile struct {
4039}
4140
4241var trafficProfiles = []TrafficProfile {
43- {
44- Name : "EtcdHighTraffic" ,
45- Traffic : traffic .EtcdPut ,
46- Profile : traffic .HighTrafficProfile ,
47- },
48- {
49- Name : "EtcdTrafficDeleteLeases" ,
50- Traffic : traffic .EtcdPutDeleteLease ,
51- Profile : traffic .LowTraffic ,
52- },
42+ // {
43+ // Name: "EtcdHighTraffic",
44+ // Traffic: traffic.EtcdPut,
45+ // Profile: traffic.HighTrafficProfile,
46+ // },
47+ // {
48+ // Name: "EtcdTrafficDeleteLeases",
49+ // Traffic: traffic.EtcdPutDeleteLease,
50+ // Profile: traffic.LowTraffic,
51+ // },
5352 {
5453 Name : "KubernetesHighTraffic" ,
5554 Traffic : traffic .Kubernetes ,
@@ -94,11 +93,11 @@ func Exploratory(_ *testing.T) []TestScenario {
9493 mixedVersionOption := options .WithClusterOptionGroups (random.PickRandom [options.ClusterOptions ](mixedVersionOptionChoices ))
9594
9695 baseOptions := []e2e.EPClusterOption {
97- options .WithSnapshotCount (50 , 100 , 1000 ),
96+ options .WithSnapshotCount (50 ),
9897 options .WithSubsetOptions (randomizableOptions ... ),
9998 e2e .WithGoFailEnabled (true ),
10099 // Set a low minimal compaction batch limit to allow for triggering multi batch compaction failpoints.
101- options .WithCompactionBatchLimit (10 , 100 , 1000 ),
100+ options .WithCompactionBatchLimit (10 ),
102101 e2e .WithWatchProcessNotifyInterval (100 * time .Millisecond ),
103102 }
104103
@@ -107,20 +106,20 @@ func Exploratory(_ *testing.T) []TestScenario {
107106 }
108107
109108 if e2e .CouldSetSnapshotCatchupEntries (e2e .BinPath .Etcd ) {
110- baseOptions = append (baseOptions , options .WithSnapshotCatchUpEntries (100 , etcdserver . DefaultSnapshotCatchUpEntries ))
109+ baseOptions = append (baseOptions , options .WithSnapshotCatchUpEntries (100 ))
111110 }
112111 scenarios := []TestScenario {}
113- for _ , tp := range trafficProfiles {
114- name := filepath .Join (tp .Name , "ClusterOfSize1" )
115- clusterOfSize1Options := baseOptions
116- clusterOfSize1Options = append (clusterOfSize1Options , e2e .WithClusterSize (1 ))
117- scenarios = append (scenarios , TestScenario {
118- Name : name ,
119- Traffic : tp .Traffic ,
120- Profile : tp .Profile ,
121- Cluster : * e2e .NewConfig (clusterOfSize1Options ... ),
122- })
123- }
112+ // for _, tp := range trafficProfiles {
113+ // name := filepath.Join(tp.Name, "ClusterOfSize1")
114+ // clusterOfSize1Options := baseOptions
115+ // clusterOfSize1Options = append(clusterOfSize1Options, e2e.WithClusterSize(1))
116+ // scenarios = append(scenarios, TestScenario{
117+ // Name: name,
118+ // Traffic: tp.Traffic,
119+ // Profile: tp.Profile,
120+ // Cluster: *e2e.NewConfig(clusterOfSize1Options...),
121+ // })
122+ // }
124123
125124 for _ , tp := range trafficProfiles {
126125 name := filepath .Join (tp .Name , "ClusterOfSize3" )
0 commit comments