From fc8a97997dab515ede3148eee2cf2d91ba2ba1d0 Mon Sep 17 00:00:00 2001 From: whd <7058128+superwhd@users.noreply.github.com> Date: Wed, 11 Aug 2021 09:26:22 +0800 Subject: [PATCH] [tests] attempt to fix intermittent failures of MATN-12 (#6858) The test failed because the script failed to read the output of ipaddr rloc. This can be fixed by adding some wait time at the end of the test. --- tests/scripts/thread-cert/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/thread-cert/node.py b/tests/scripts/thread-cert/node.py index 6e043f4fc..fdf0e6ff0 100755 --- a/tests/scripts/thread-cert/node.py +++ b/tests/scripts/thread-cert/node.py @@ -135,7 +135,7 @@ class OtbrDocker: assert launch_ok cmd = f'docker exec -i {self._docker_name} ot-ctl' - self.pexpect = pexpect.popen_spawn.PopenSpawn(cmd, timeout=10) + self.pexpect = pexpect.popen_spawn.PopenSpawn(cmd, timeout=30) # Add delay to ensure that the process is ready to receive commands. timeout = 0.4