summaryrefslogtreecommitdiff
path: root/tests/system/suite_CSUP/tst_CSUP01/test.py
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2018-09-07 08:26:01 +0200
committerChristian Stenger <christian.stenger@qt.io>2018-09-07 12:48:28 +0000
commit28ab852e538643a0762ce6be5b0fee1daa41f3a9 (patch)
treef4e951d58c4f507aabf4922bb00120e7d4e1f98c /tests/system/suite_CSUP/tst_CSUP01/test.py
parent1a64efd863507e47d161c82b2ffbae31c88ed452 (diff)
downloadqt-creator-28ab852e538643a0762ce6be5b0fee1daa41f3a9.tar.gz
Squish: Wait for a clean shutdown when restarting QC
This fixes a race condition in tst_CSUP06 where the next run of QC removed .user* but the first instance was not completely finished with the shutdown process. The .user files of the project got updated (or recreated) before the second instance tried to open the same project again. Ensure the first instance is closed to be sure that project's .user files got created or updated before the second instance tries to remove and re-open them. Follow the same approach for other tests to avoid the same issue later on. Change-Id: I37721f4dd647f9bbf7c6fed6e753a2906e30db81 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Diffstat (limited to 'tests/system/suite_CSUP/tst_CSUP01/test.py')
-rw-r--r--tests/system/suite_CSUP/tst_CSUP01/test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/system/suite_CSUP/tst_CSUP01/test.py b/tests/system/suite_CSUP/tst_CSUP01/test.py
index 1031ce75dc..63779811f6 100644
--- a/tests/system/suite_CSUP/tst_CSUP01/test.py
+++ b/tests/system/suite_CSUP/tst_CSUP01/test.py
@@ -133,3 +133,4 @@ def main():
# exit qt creator
invokeMenuItem("File", "Save All")
invokeMenuItem("File", "Exit")
+ waitForCleanShutdown()