From cc9465a6efb2d42aed7a38cd965d5d1ea8f5d6b7 Mon Sep 17 00:00:00 2001 From: Unitech Date: Fri, 6 Feb 2015 21:47:28 -0500 Subject: [PATCH] restore tests --- test/index.sh | 8 ++++---- test/interface/fixtures/http:transaction.js | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/test/index.sh b/test/index.sh index 1aa6a573..669da978 100644 --- a/test/index.sh +++ b/test/index.sh @@ -44,10 +44,10 @@ mocha ./test/interface/interactor.daemonizer.mocha.js spec "Remote interactor keys save verification" mocha ./test/interface/remote.mocha.js spec "Remote interactions test" -#mocha ./test/interface/bus.spec.mocha.js -#spec "Protocol communication test" -#mocha ./test/interface/bus.fork.spec.mocha.js -#spec "Protocol communication test" +mocha ./test/interface/bus.spec.mocha.js +spec "Protocol communication test" +mocha ./test/interface/bus.fork.spec.mocha.js +spec "Protocol communication test" echo " ______ ________________________" echo " / __/ / / / ___/ ___/ __/ __/ __/" diff --git a/test/interface/fixtures/http:transaction.js b/test/interface/fixtures/http:transaction.js index 0ba7d674..17a91be5 100644 --- a/test/interface/fixtures/http:transaction.js +++ b/test/interface/fixtures/http:transaction.js @@ -6,7 +6,9 @@ var http = require('http'); http.createServer(function(req, res) { res.writeHead(200); - res.end('transaction'); + setTimeout(function() { + res.end('transaction'); + }, 1000); }).listen(9010); setInterval(function() {