Skip to content

Commit

Permalink
test(batching#176): increase timeout for deflat/gzip tests, for slow …
Browse files Browse the repository at this point in the history
…Node 4
  • Loading branch information
DxCx committed Jan 24, 2017
1 parent 0a7b566 commit 3c249eb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/graphql-server-express/src/apolloServerHttp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ const version = 'modern';
describe(`GraphQL-HTTP (apolloServer) tests for ${version} express`, () => {
describe('POST functionality', () => {

it('allows gzipped POST bodies', async () => {
it('allows gzipped POST bodies', async function () {
// Increase timeout for slow node 4
this.timeout(3000);
const app = express();

app.use(urlString(), bodyParser.json());
Expand All @@ -181,7 +183,9 @@ describe(`GraphQL-HTTP (apolloServer) tests for ${version} express`, () => {
});
});

it('allows deflated POST bodies', async () => {
it('allows deflated POST bodies', async function () {
// Increase timeout for slow node 4
this.timeout(3000);
const app = express();

app.use(urlString(), bodyParser.json());
Expand Down

0 comments on commit 3c249eb

Please sign in to comment.