Skip to content

Commit

Permalink
Use smaller port range for application filtering test (#560)
Browse files Browse the repository at this point in the history
BESS integration tests fail for wider port ranges, as the "exact match conversion strategy" only allows for narrow ranges.
  • Loading branch information
Tomasz Osiński committed Mar 9, 2022
1 parent 950ae3f commit d20aea0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func TestSingleUEAttachAndDetach(t *testing.T) {
nbAddress: nodeBAddress,
ueAddress: ueAddress,
upfN3Address: upfN3Address,
sdfFilter: "permit out udp from 192.168.1.1/32 to assigned 80-400",
sdfFilter: "permit out udp from 192.168.1.1/32 to assigned 80-100",
ulTEID: 15,
dlTEID: 16,
QFI: 0x9,
Expand All @@ -107,15 +107,15 @@ func TestSingleUEAttachAndDetach(t *testing.T) {
appIP: net.ParseIP("192.168.1.1"),
appPrefixLen: 32,
appPort: portRange{
80, 400,
80, 100,
},
},
// FIXME: there is a dependency on previous test because pfcpiface doesn't clear application IDs properly
// See SDFAB-960
appID: 2,
tunnelPeerID: 2,
},
desc: "APPLICATION FILTERING permit out udp from 192.168.1.1/32 to assigned 80-80",
desc: "APPLICATION FILTERING permit out udp from 192.168.1.1/32 to assigned 80-100",
},
{
input: &pfcpSessionData{
Expand Down

0 comments on commit d20aea0

Please sign in to comment.