From bc0d9360caad083a1923882d55c8c255a89fd6f6 Mon Sep 17 00:00:00 2001 From: tai2 Date: Sun, 26 Apr 2015 16:46:13 +0900 Subject: [PATCH] Increase server waiting time from 500ms to 1000ms. --- exercises/CSS/exercise.js | 4 ++-- exercises/State/exercise.js | 4 ++-- exercises/components/exercise.js | 4 ++-- exercises/hello_react/exercise.js | 4 ++-- exercises/propTypes/exercise.js | 4 ++-- exercises/props/exercise.js | 4 ++-- exercises/props_from_server/exercise.js | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/exercises/CSS/exercise.js b/exercises/CSS/exercise.js index 0456e3a..66bf91b 100644 --- a/exercises/CSS/exercise.js +++ b/exercises/CSS/exercise.js @@ -43,14 +43,14 @@ exercise.addProcessor(function (mode, callback) { this.solutionStdout = through2(); } - setTimeout(query.bind(this, mode), 500); + setTimeout(query.bind(this, mode), 1000); process.nextTick(function () { callback(null, true) }); }); -// delayed for 500ms to wait for servers to start so we can start +// delayed for 1000ms to wait for servers to start so we can start // playing with them function query (mode) { var exercise = this diff --git a/exercises/State/exercise.js b/exercises/State/exercise.js index 0456e3a..66bf91b 100644 --- a/exercises/State/exercise.js +++ b/exercises/State/exercise.js @@ -43,14 +43,14 @@ exercise.addProcessor(function (mode, callback) { this.solutionStdout = through2(); } - setTimeout(query.bind(this, mode), 500); + setTimeout(query.bind(this, mode), 1000); process.nextTick(function () { callback(null, true) }); }); -// delayed for 500ms to wait for servers to start so we can start +// delayed for 1000ms to wait for servers to start so we can start // playing with them function query (mode) { var exercise = this diff --git a/exercises/components/exercise.js b/exercises/components/exercise.js index 0456e3a..66bf91b 100644 --- a/exercises/components/exercise.js +++ b/exercises/components/exercise.js @@ -43,14 +43,14 @@ exercise.addProcessor(function (mode, callback) { this.solutionStdout = through2(); } - setTimeout(query.bind(this, mode), 500); + setTimeout(query.bind(this, mode), 1000); process.nextTick(function () { callback(null, true) }); }); -// delayed for 500ms to wait for servers to start so we can start +// delayed for 1000ms to wait for servers to start so we can start // playing with them function query (mode) { var exercise = this diff --git a/exercises/hello_react/exercise.js b/exercises/hello_react/exercise.js index 0456e3a..66bf91b 100644 --- a/exercises/hello_react/exercise.js +++ b/exercises/hello_react/exercise.js @@ -43,14 +43,14 @@ exercise.addProcessor(function (mode, callback) { this.solutionStdout = through2(); } - setTimeout(query.bind(this, mode), 500); + setTimeout(query.bind(this, mode), 1000); process.nextTick(function () { callback(null, true) }); }); -// delayed for 500ms to wait for servers to start so we can start +// delayed for 1000ms to wait for servers to start so we can start // playing with them function query (mode) { var exercise = this diff --git a/exercises/propTypes/exercise.js b/exercises/propTypes/exercise.js index 0456e3a..66bf91b 100644 --- a/exercises/propTypes/exercise.js +++ b/exercises/propTypes/exercise.js @@ -43,14 +43,14 @@ exercise.addProcessor(function (mode, callback) { this.solutionStdout = through2(); } - setTimeout(query.bind(this, mode), 500); + setTimeout(query.bind(this, mode), 1000); process.nextTick(function () { callback(null, true) }); }); -// delayed for 500ms to wait for servers to start so we can start +// delayed for 1000ms to wait for servers to start so we can start // playing with them function query (mode) { var exercise = this diff --git a/exercises/props/exercise.js b/exercises/props/exercise.js index 0456e3a..66bf91b 100644 --- a/exercises/props/exercise.js +++ b/exercises/props/exercise.js @@ -43,14 +43,14 @@ exercise.addProcessor(function (mode, callback) { this.solutionStdout = through2(); } - setTimeout(query.bind(this, mode), 500); + setTimeout(query.bind(this, mode), 1000); process.nextTick(function () { callback(null, true) }); }); -// delayed for 500ms to wait for servers to start so we can start +// delayed for 1000ms to wait for servers to start so we can start // playing with them function query (mode) { var exercise = this diff --git a/exercises/props_from_server/exercise.js b/exercises/props_from_server/exercise.js index e591483..48f00fc 100644 --- a/exercises/props_from_server/exercise.js +++ b/exercises/props_from_server/exercise.js @@ -56,14 +56,14 @@ exercise.addProcessor(function (mode, callback) { this.solutionStdout = through2(); } - setTimeout(query.bind(this, mode), 500); + setTimeout(query.bind(this, mode), 1000); process.nextTick(function () { callback(null, true) }); }); -// delayed for 500ms to wait for servers to start so we can start +// delayed for 1000ms to wait for servers to start so we can start // playing with them function query (mode) { var exercise = this