Skip to content

Commit f1f5136

Browse files
author
Franck Rupin
committed
Fix some tests
- Some tests were failing due to a bad string - This commit modifies the strings to make the tests succeeded
1 parent c48428e commit f1f5136

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ovs/datapath_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,15 +567,15 @@ func TestDelCTLimits(t *testing.T) {
567567
},
568568
zones: []uint64{4, 3},
569569
dpName: "",
570-
err: "datapath name is missing",
570+
err: "datapath name argument is mandatory",
571571
testCase: handleError,
572572
},
573573
{
574574
desc: "Test del limit with empty paramaters",
575575
dp: NewDataPathService(),
576576
zones: []uint64{},
577577
dpName: "",
578-
err: "datapath name is missing",
578+
err: "datapath name argument is mandatory",
579579
testCase: handleError,
580580
},
581581
}
@@ -625,15 +625,15 @@ func TestDelCTLimitsWithBinary(t *testing.T) {
625625
dp: NewDataPathService(),
626626
zones: []uint64{4, 3},
627627
dpName: "",
628-
err: "datapath name is missing",
628+
err: "datapath name argument is mandatory",
629629
testCase: handleError,
630630
},
631631
{
632632
desc: "Test del limit with empty paramaters",
633633
dp: NewDataPathService(),
634634
zones: []uint64{},
635635
dpName: "",
636-
err: "datapath name is missing",
636+
err: "datapath name argument is mandatory",
637637
testCase: handleError,
638638
},
639639
}

0 commit comments

Comments
 (0)