Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use smaller port range for application filtering test #560

Merged
merged 1 commit into from
Mar 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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