We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c8b4ed commit 7ba1711Copy full SHA for 7ba1711
pkg/epp/datastore/datastore_test.go
@@ -297,7 +297,7 @@ func TestRandomWeightedDraw(t *testing.T) {
297
},
298
299
300
- want: "v1.1",
+ want: "canary",
301
302
}
303
var seedVal int64 = 420
@@ -306,7 +306,7 @@ func TestRandomWeightedDraw(t *testing.T) {
306
for range 10000 {
307
model := RandomWeightedDraw(logger, test.model, seedVal)
308
if model != test.want {
309
- t.Errorf("Model returned!: %v", model)
+ t.Errorf("Model returned: %v != %v", model, test.want)
310
break
311
312
0 commit comments