forked from qt-creator/qt-creator
CppTools: Tests: time out in waitForFileInGlobalSnapshot()
Change-Id: I0bf7d826d53749c5fd1be1e4f3c2faa403d13342 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -88,8 +88,7 @@ public:
|
||||
m_textDocument = m_editorWidget->document();
|
||||
|
||||
// Get Document
|
||||
waitForFileInGlobalSnapshot(fileName);
|
||||
const Document::Ptr document = globalSnapshot().document(fileName);
|
||||
const Document::Ptr document = waitForFileInGlobalSnapshot(fileName);
|
||||
QVERIFY(document);
|
||||
QVERIFY(document->diagnosticMessages().isEmpty());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user