From d5e69dda86dbf7ec3c9604189f5c1b00a5add0e5 Mon Sep 17 00:00:00 2001 From: Narciso Jaramillo Date: Sun, 8 Apr 2012 21:17:50 -0700 Subject: [PATCH] Insert a delay between opening and closing a live connection --- test/spec/LiveDevelopment-test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/spec/LiveDevelopment-test.js b/test/spec/LiveDevelopment-test.js index bb8f501e178..277d933b526 100644 --- a/test/spec/LiveDevelopment-test.js +++ b/test/spec/LiveDevelopment-test.js @@ -95,6 +95,9 @@ define(function (require, exports, module) { var doc = DocumentManager.getOpenDocumentForPath(testPath + "/simple1.html"); //expect(isOpenInBrowser(doc, LiveDevelopment.agents)).toBeTruthy(); }); + + // Let things settle down before trying to close the connection. + waits(1000); }); it("should should not start a browser connection for an opened css file", function () {