Commit 59ef1b3b authored by Don Gagne's avatar Don Gagne Committed by GitHub

Delay for mission item sync (#3668)

parent 2418d073
......@@ -190,6 +190,10 @@ void RadioConfigTest::_init(MAV_AUTOPILOT firmwareType)
_autopilot = qgcApp()->toolbox()->multiVehicleManager()->activeVehicle()->autopilotPlugin();
Q_ASSERT(_autopilot);
// This test is so quick that it tends to finish before the mission item protocol completes. This causes an error to pop up.
// So we wait a little to let mission items sync.
QTest::qWait(500);
// This will instatiate the widget with an active uas with ready parameters
_calWidget = new QGCQmlWidgetHolder(QString(), NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment