Skip to content

Commit

Permalink
Made some more parallel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Pchelko authored and d00rman committed Nov 25, 2016
1 parent 024401b commit 64fc109
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/features/errors/invalid_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ var assert = require('../../utils/assert.js');
var preq = require('preq');
var server = require('../../utils/server.js');
var nock = require('nock');
var mwUtils =

parallel('400 handling', function() {
this.timeout(20000);
Expand Down
3 changes: 2 additions & 1 deletion test/features/parsoid/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
var assert = require('../../utils/assert.js');
var server = require('../../utils/server.js');
var preq = require('preq');
const parallel = require('mocha.parallel');

var testPage = {
title: 'User:Pchelolo%2fRestbase_Test',
Expand All @@ -14,7 +15,7 @@ var testPage = {
// html is fetched dynamically
};

describe('transform api', function() {
parallel('transform api', function() {
this.timeout(20000);

before(function () {
Expand Down
3 changes: 2 additions & 1 deletion test/features/router/buildTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ var assert = require('assert');
var preq = require('preq');
var Router = require('hyperswitch/lib/router');
var server = require('../../utils/server');
const parallel = require('mocha.parallel');

var rootSpec = {
paths: {
Expand All @@ -24,7 +25,7 @@ var fullSpec = server.loadConfig('config.example.wikimedia.yaml');

var fakeHyperSwitch = { config: {} };

describe('tree building', function() {
parallel('tree building', function() {

before(function() { server.start(); });

Expand Down

0 comments on commit 64fc109

Please sign in to comment.