mgcp/test: Reset pkt_period_* after each test
Currently these value may leak into the next test. This patch will reset them after each message has been processed. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
1b653af283
commit
68c74f59a4
|
@ -366,6 +366,8 @@ static void test_messages(void)
|
|||
endp->net_end.packet_duration_ms = -1;
|
||||
endp->bts_end.output_enabled = 0;
|
||||
endp->net_end.output_enabled = 0;
|
||||
endp->local_options.pkt_period_min = 0;
|
||||
endp->local_options.pkt_period_max = 0;
|
||||
endp->conn_mode = -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ Requested packetetization period: 20-20
|
|||
Connection mode: 2, BTS output disabled, NET output disabled
|
||||
Testing DLCX
|
||||
Detected packet duration: 20
|
||||
Requested packetetization period: 20-20
|
||||
Requested packetization period not set
|
||||
Connection mode: 0, BTS output enabled, NET output enabled
|
||||
Testing CRCX_ZYN
|
||||
Packet duration not set
|
||||
|
|
Loading…
Reference in New Issue