Increase the busy loop a bit
Busy loops are nasty, but can't think of another way to test this at the moment
commit910775de38cf24b831262808307a2f09489c797e
authorAlbert Astals <albert.astals@canonical.com>
dateTue 13 Jan 2015, 15:36 (12 years ago)
parent8a5acea
tests/qmltests/Dash/tst_DashContent.qml+2−2
@@ -548,11 +548,11 @@ Item {
548548
549549 function getSettledButtons() {
550550 var buttons = findChildsByType(dashContent, "AbstractButton");
551− wait(250);
551+ wait(2500);
552552 var aux = findChildsByType(dashContent, "AbstractButton");
553553 while (!compareArrays(aux, buttons)) {
554554 buttons = aux;
555− wait(250);
555+ wait(2500);
556556 aux = findChildsByType(dashContent, "AbstractButton");
557557 }
558558 return buttons;