Skip to content

Commit e013a89

Browse files
committed
ovs: remove tests with invalid bit shifts
1 parent c22432b commit e013a89

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ovs/match_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package ovs
22

33
import (
44
"fmt"
5-
"math"
65
"net"
76
"reflect"
87
"testing"
@@ -724,11 +723,6 @@ func TestMatchVLANTCI(t *testing.T) {
724723
m Match
725724
out string
726725
}{
727-
{
728-
desc: "uint16 mask underflow",
729-
m: VLANTCI(10, 0>>(math.MaxUint16/2)),
730-
out: "vlan_tci=0x000a",
731-
},
732726
{
733727
desc: "TCI 10, no mask",
734728
m: VLANTCI(10, 0),
@@ -762,11 +756,6 @@ func TestMatchConnectionTrackingMark(t *testing.T) {
762756
m Match
763757
out string
764758
}{
765-
{
766-
desc: "uint16 mask underflow",
767-
m: ConnectionTrackingMark(10, 0>>(math.MaxUint16/2)),
768-
out: "ct_mark=0x0000000a",
769-
},
770759
{
771760
desc: "Mark 10, no mask",
772761
m: ConnectionTrackingMark(10, 0),

0 commit comments

Comments
 (0)