From ccc9c41f8a4e7419377ee2ad51cdf91a18f49875 Mon Sep 17 00:00:00 2001 From: "Glenn R. Fisher" Date: Mon, 21 Dec 2015 17:01:14 -0500 Subject: [PATCH] Add explanatory comment (#113) Explains why we use a sleep statement in DialogTests. --- WatsonDeveloperCloud/Dialog/Tests/DialogTests.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/WatsonDeveloperCloud/Dialog/Tests/DialogTests.swift b/WatsonDeveloperCloud/Dialog/Tests/DialogTests.swift index 4bed016c5..42ddfaee3 100644 --- a/WatsonDeveloperCloud/Dialog/Tests/DialogTests.swift +++ b/WatsonDeveloperCloud/Dialog/Tests/DialogTests.swift @@ -76,6 +76,7 @@ class DialogTests: XCTestCase { // create the Dialog application createDialogApp() + // ensure Dialog application is created before sending queries sleep(3) // verify the content of the initial response node