@@ -142,7 +142,7 @@ func (s) TestRDSWatch(t *testing.T) {
142
142
{
143
143
Prefix : newStringP ("/" ),
144
144
ActionType : xdsresource .RouteActionRoute ,
145
- WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 1 }},
145
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 100 }},
146
146
},
147
147
},
148
148
},
@@ -165,7 +165,7 @@ func (s) TestRDSWatch(t *testing.T) {
165
165
{
166
166
Prefix : newStringP ("/" ),
167
167
ActionType : xdsresource .RouteActionRoute ,
168
- WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsNameNewStyle : {Weight : 1 }},
168
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsNameNewStyle : {Weight : 100 }},
169
169
},
170
170
},
171
171
},
@@ -281,7 +281,7 @@ func (s) TestRDSWatch_TwoWatchesForSameResourceName(t *testing.T) {
281
281
{
282
282
Prefix : newStringP ("/" ),
283
283
ActionType : xdsresource .RouteActionRoute ,
284
- WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 1 }},
284
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 100 }},
285
285
},
286
286
},
287
287
},
@@ -297,7 +297,7 @@ func (s) TestRDSWatch_TwoWatchesForSameResourceName(t *testing.T) {
297
297
{
298
298
Prefix : newStringP ("/" ),
299
299
ActionType : xdsresource .RouteActionRoute ,
300
- WeightedClusters : map [string ]xdsresource.WeightedCluster {"new-cds-resource" : {Weight : 1 }},
300
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {"new-cds-resource" : {Weight : 100 }},
301
301
},
302
302
},
303
303
},
@@ -319,7 +319,7 @@ func (s) TestRDSWatch_TwoWatchesForSameResourceName(t *testing.T) {
319
319
{
320
320
Prefix : newStringP ("/" ),
321
321
ActionType : xdsresource .RouteActionRoute ,
322
- WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsNameNewStyle : {Weight : 1 }},
322
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsNameNewStyle : {Weight : 100 }},
323
323
},
324
324
},
325
325
},
@@ -335,7 +335,7 @@ func (s) TestRDSWatch_TwoWatchesForSameResourceName(t *testing.T) {
335
335
{
336
336
Prefix : newStringP ("/" ),
337
337
ActionType : xdsresource .RouteActionRoute ,
338
- WeightedClusters : map [string ]xdsresource.WeightedCluster {"new-cds-resource" : {Weight : 1 }},
338
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {"new-cds-resource" : {Weight : 100 }},
339
339
},
340
340
},
341
341
},
@@ -492,7 +492,7 @@ func (s) TestRDSWatch_ThreeWatchesForDifferentResourceNames(t *testing.T) {
492
492
{
493
493
Prefix : newStringP ("/" ),
494
494
ActionType : xdsresource .RouteActionRoute ,
495
- WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 1 }},
495
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 100 }},
496
496
},
497
497
},
498
498
},
@@ -577,7 +577,7 @@ func (s) TestRDSWatch_ResourceCaching(t *testing.T) {
577
577
{
578
578
Prefix : newStringP ("/" ),
579
579
ActionType : xdsresource .RouteActionRoute ,
580
- WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 1 }},
580
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 100 }},
581
581
},
582
582
},
583
583
},
@@ -713,7 +713,7 @@ func (s) TestRDSWatch_ValidResponseCancelsExpiryTimerBehavior(t *testing.T) {
713
713
{
714
714
Prefix : newStringP ("/" ),
715
715
ActionType : xdsresource .RouteActionRoute ,
716
- WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 1 }},
716
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 100 }},
717
717
},
718
718
},
719
719
},
@@ -850,7 +850,7 @@ func (s) TestRDSWatch_PartialValid(t *testing.T) {
850
850
{
851
851
Prefix : newStringP ("/" ),
852
852
ActionType : xdsresource .RouteActionRoute ,
853
- WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 1 }},
853
+ WeightedClusters : map [string ]xdsresource.WeightedCluster {cdsName : {Weight : 100 }},
854
854
},
855
855
},
856
856
},
0 commit comments