diff --git a/tests/RobotFramework/tests/tedge_agent/workflows/custom_operation.robot b/tests/RobotFramework/tests/tedge_agent/workflows/custom_operation.robot index c44da0165e1..3dd345df7bd 100644 --- a/tests/RobotFramework/tests/tedge_agent/workflows/custom_operation.robot +++ b/tests/RobotFramework/tests/tedge_agent/workflows/custom_operation.robot @@ -37,7 +37,7 @@ Trigger Device Restart Trigger Device Restart Using A Sub-Command ${pid_before}= Execute Command sudo systemctl show --property MainPID tedge-agent Execute Command tedge mqtt pub --retain te/device/main///cmd/restart_sub_command/robot-314 '{"status":"init"}' - Should Have MQTT Messages te/device/main///cmd/restart_sub_command/robot-314 message_pattern=.*successful.* maximum=1 timeout=300 + Should Have MQTT Messages te/device/main///cmd/restart_sub_command/robot-314 message_pattern=.*successful.* maximum=1 timeout=400 ${pid_after}= Execute Command sudo systemctl show --property MainPID tedge-agent Should Not Be Equal ${pid_before} ${pid_after} msg=tedge-agent should have been restarted