Skip to content

Commit

Permalink
putting times back
Browse files Browse the repository at this point in the history
  • Loading branch information
evantahler committed Sep 15, 2012
1 parent 78a63cb commit 990d332
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/api_developerMode.js
Expand Up @@ -40,7 +40,7 @@ suite.addBatch({
var cb = this.callback;
setTimeout(function(){
cb();
}, 2001); //file read timer is 1 second; let it have time to get one read in first
}, 1001); //file read timer is 1 second; let it have time to get one read in first
},
file_is_real: function(){
stats = specHelper.fs.lstatSync(original_file);
Expand All @@ -56,7 +56,7 @@ suite.addBatch({
specHelper.fs.writeFile(original_file, new_file_content, function(err) {
setTimeout(function(){
specHelper.apiTest.get('/randomNumber', 0, {} , cb );
}, 6000); //file read timer is 1 second; time to notice the change + time to reaload API
}, 3000); //file read timer is 1 second; time to notice the change + time to reaload API
});
},
changed_content: function(res, b){
Expand All @@ -72,7 +72,7 @@ suite.addBatch({
var cb = this.callback;
setTimeout(function(){
cb();
}, 2001); //file read timer is 1 second; let it have time to get one read in first
}, 1001); //file read timer is 1 second; let it have time to get one read in first
},
file_is_still_real: function(){
stats = specHelper.fs.lstatSync(original_file);
Expand All @@ -88,7 +88,7 @@ suite.addBatch({
specHelper.fs.writeFile(original_file, original_content, function(err){
setTimeout(function(){
specHelper.apiTest.get('/randomNumber', 0, {} , cb );
}, 6000); //file read timer is 1 second; time to notice the change + time to reaload API
}, 3000); //file read timer is 1 second; time to notice the change + time to reaload API
});
},
error: function(res, b){
Expand Down

0 comments on commit 990d332

Please sign in to comment.