[education/rkward] rkward/autotests: Allow more time for commands to finish in tests

Thomas Friedrichsmeier null at kde.org
Thu Oct 6 08:35:28 BST 2022


Git commit 1ba0e8d21d65dac2f3777f64f9a3fb14bde9097e by Thomas Friedrichsmeier.
Committed on 06/10/2022 at 07:35.
Pushed by tfry into branch 'master'.

Allow more time for commands to finish in tests

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

https://invent.kde.org/education/rkward/commit/1ba0e8d21d65dac2f3777f64f9a3fb14bde9097e

diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index 27ccdc23..1fee016c 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -79,7 +79,7 @@ class RKWardCoreTest: public QObject {
 		RInterface::issueCommand(command, chain);
 	}
 
-	void waitForAllFinished(int timeoutms = 1000) {
+	void waitForAllFinished(int timeoutms = 2000) {
 		runCommandWithTimeout(new RCommand(QString(), RCommand::App | RCommand::EmptyCommand | RCommand::Sync), nullptr, [](RCommand*){}, timeoutms);
 	}
 


More information about the rkward-tracker mailing list