mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 03:37:46 +00:00
[github-actions] fix MATN_15_ChangeOfPrimaryBBRTriggersRegistration.py (#6608)
The test case failed because pktverify failed to find an ACK packet sent to TD. However, TD_RLOC has changed during the test while we were using the latter RLOC to verify the packet. Therefore it wasn't able to find the packet. For this test case, we can verify the existence of that ACK packet using the source address of its according CON packet.
This commit is contained in:
+2
-2
@@ -181,7 +181,7 @@ class MATN_15_ChangeOfPrimaryBBRTriggersRegistration(thread_cert.TestCase):
|
||||
# Where the payload contains:
|
||||
# Status TLV: ST_MLR_SUCCESS
|
||||
pkts.filter_wpan_src64(vars['BR_2']) \
|
||||
.filter_ipv6_dst(vars['TD_RLOC']) \
|
||||
.filter_ipv6_dst(_pkt.ipv6.src) \
|
||||
.filter_coap_ack('/n/mr') \
|
||||
.filter(lambda
|
||||
p: p.coap.mid == _pkt.coap.mid and
|
||||
@@ -190,7 +190,7 @@ class MATN_15_ChangeOfPrimaryBBRTriggersRegistration(thread_cert.TestCase):
|
||||
|
||||
# 5. Router_1 forwards the response to TD.
|
||||
pkts.filter_wpan_src64(vars['Router_1']) \
|
||||
.filter_ipv6_2dsts(vars['TD_RLOC'], vars['TD_LLA']) \
|
||||
.filter_ipv6_dst(_pkt.ipv6.src) \
|
||||
.filter_coap_ack('/n/mr') \
|
||||
.filter(lambda
|
||||
p: p.coap.mid == _pkt.coap.mid and
|
||||
|
||||
Reference in New Issue
Block a user