[education/rkward] rkward/autotests: Attempt to fix deadlock during autotests
Thomas Friedrichsmeier
null at kde.org
Sat Sep 17 15:42:14 BST 2022
Git commit 78587ed6c266d7037e5303b29af88fd5de8f0bcf by Thomas Friedrichsmeier.
Committed on 17/09/2022 at 12:37.
Pushed by tfry into branch 'master'.
Attempt to fix deadlock during autotests
M +1 -1 rkward/autotests/core_test.cpp
https://invent.kde.org/education/rkward/commit/78587ed6c266d7037e5303b29af88fd5de8f0bcf
diff --git a/rkward/autotests/core_test.cpp b/rkward/autotests/core_test.cpp
index f82e7235..b2541f45 100644
--- a/rkward/autotests/core_test.cpp
+++ b/rkward/autotests/core_test.cpp
@@ -65,7 +65,7 @@ class RKWardCoreTest: public QObject {
}
void waitForAllFinished(int timeoutms = 1000) {
- runCommandWithTimeout(new RCommand(QString(), RCommand::App | RCommand::EmptyCommand), nullptr, [](RCommand*){}, timeoutms);
+ runCommandWithTimeout(new RCommand(QString(), RCommand::App | RCommand::EmptyCommand | RCommand::Sync), nullptr, [](RCommand*){}, timeoutms);
}
void cleanGlobalenv() {
More information about the rkward-tracker
mailing list