magma / S1APTester

A test tool that simulates the s1aptest functionality of a LTE network
Other
55 stars 43 forks source link

[Bug fix] Fixed printing of ue id multiple times #16

Closed pruthvihebbani closed 4 years ago

pruthvihebbani commented 4 years ago

Title

Fixed printing of ue id multiple times

Summary

This PR has the following fixes:

  1. Ue Id was getting printed multiple times after receiving PDN Connection/Disconnection response as there were duplicate entries of the ue id in the ueIdList maintained at fwCb. Added a fix to clear the ue entry after processing the response
  2. Old fix for CM_ESM_MAX_BEARER_ID supported was overwritten during one of the merges. Added the fix back.

Test plan

  1. Verified S1 SIM sanity
  2. Verified test_attach_detach_secondary_pdn_with_pcscf_address.py and test_attach_detach_with_pcscf_address.py TCs