[education/rkward] rkward/autotests: Allow more time for autotests

Thomas Friedrichsmeier null at kde.org
Fri Jun 28 15:17:08 BST 2024


Git commit 01351c0c03a964c9a594733eca4505ae8f5d49b6 by Thomas Friedrichsmeier.
Committed on 28/06/2024 at 14:17.
Pushed by tfry into branch 'master'.

Allow more time for autotests

M  +2    -2    rkward/autotests/core_test.cpp

https://invent.kde.org/education/rkward/-/commit/01351c0c03a964c9a594733eca4505ae8f5d49b6

diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index de8a8575f..664a9bfc4 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -410,7 +410,7 @@ private Q_SLOTS:
 			QVERIFY(!command->failed());
 		});
 		RInterface::issueCommand(new RCommand("dev.off()", RCommand::User));
-		waitForAllFinished(5000);  // priority_command_done must remain in scope until done
+		waitForAllFinished(10000);
 	}
 
 	void HTMLWindowTest() {
@@ -455,7 +455,7 @@ private Q_SLOTS:
 				a->trigger();  // NOTE: Using setChecked(true), here, would not emit the require QActionGroup::triggered() inside RKCommandEditorWindow
 				QVERIFY(a->isChecked());
 				win->doRenderPreview(); // don't wait for debounce timeout
-				waitForAllFinished(4000);
+				waitForAllFinished(8000);
 				// TODO: check that a preview was actually generated
 			}
 		}


More information about the rkward-tracker mailing list