Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2135 closed defect (fixed)

Various PJSUA tests (Python scripts, unit tests) updates and fixes

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.8
Component: unit-tests Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by nanang)

  • Recent changes may have increased SIP message size (perhaps mainly from increased SDP size) and when the SIP message size exceeds ~1300 bytes, the SIP message will be sent via TCP transport (if TCP transport is available). Unfortunately, some test components, e.g: SIPp, are configured to use UDP only, so some Python script tests will fail.

Change History (5)

comment:1 Changed 6 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed

In 5844:

Close #2135: Update some failing scripts to skip TCP transport in pjsua app instantiation.

comment:2 Changed 6 years ago by nanang

  • Description modified (diff)
  • Summary changed from PJSUA tests failures due to large SIP message size to Various PJSUA tests (Python scripts, unit tests) updates and fixes

comment:3 Changed 6 years ago by nanang

In 5848:

Re #2135: Updated 'pjsip-test' to adapt to the recent library changes.

comment:4 Changed 6 years ago by nanang

In 5858:

Re #2135: Disabled a couple of tests in tsx_destroy_test() that rely on TCP connect timeout, as the timeout delay may vary among OSes.

comment:5 Changed 6 years ago by nanang

In 5859:

Re #2135:

  • Enabled DTLS in automated tests on desktop platforms.
  • Added some test variants, e.g: 64 bit mobile platforms, video, IPv6, in automated tests.
Note: See TracTickets for help on using tickets.