Skip to content

Commit

Permalink
fix: set UPF association context correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura Henning committed Aug 20, 2024
1 parent 900f987 commit ee395c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/context/user_plane_information_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ func TestGetUEIPPool(t *testing.T) {
userplaneInformation := smf_context.NewUserPlaneInformation(configForIPPoolAllocate)
for _, upf := range userplaneInformation.UPFs {
upf.UPFStatus = smf_context.AssociatedSetUpSuccess
upf.Association, upf.AssociationCancelFunc = context.WithCancel(context.Background())
}

for ci, tc := range testCasesOfGetUEIPPool {
Expand Down

0 comments on commit ee395c5

Please sign in to comment.