Skip to content

Commit 3ba090f

Browse files
committed
fix operators_test.go
1 parent 44c1204 commit 3ba090f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mtest/operators_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func testOperators() {
238238
}
239239

240240
if len(n.Spec.Taints) != 1 {
241-
return errors.New("taints length should 1: " + n.Name)
241+
return fmt.Errorf("taints length should 1, node %s, actual: %d, taints: %+v, status: %+v", n.Name, len(n.Spec.Taints), n.Spec.Taints, n.Status)
242242
}
243243
taint := n.Spec.Taints[0]
244244
if taint.Key != "coil.cybozu.com/bootstrap" {

0 commit comments

Comments
 (0)