[github-actions] add simulation tests registering 500 services to one SRP server (#6991)

This commit adds two simulation tests to verify that SRP clients can
register 500 services to one SRP server:
- Virtual time simulation test with one SRP server and 25 SRP clients,
  each client registering 20 SRP services.
- OTBR simulation test same as above, but run SRP server on OTBR
  (Docker).
This commit is contained in:
Simon Lin
2021-10-28 11:36:25 -07:00
committed by GitHub
parent 76cdf9dc7f
commit ed4dceaa6d
5 changed files with 294 additions and 7 deletions
+7 -6
View File
@@ -269,13 +269,14 @@ class TestCase(NcpSupportMixin, unittest.TestCase):
self.simulator.stop()
if self._has_backbone_traffic():
self._remove_backbone_network()
pcap_filename = self._merge_thread_backbone_pcaps()
else:
pcap_filename = self._get_thread_pcap_filename()
if self._do_packet_verification:
if self._has_backbone_traffic():
self._remove_backbone_network()
pcap_filename = self._merge_thread_backbone_pcaps()
else:
pcap_filename = self._get_thread_pcap_filename()
self._test_info['pcap'] = pcap_filename
test_info_path = self._output_test_info()