Skip to content

Commit f016bd7

Browse files
committed
Update test expectation for "100 GET requests 50k"
Locally Node v7 and v8 also have higher memory expectations, so just use the same maximum memory value for v0.x and non-v0.x.
1 parent 99133b0 commit f016bd7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/test-memory.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ describe('memory usage', function() {
9393

9494
it('100 GET requests 50k', function(done) {
9595
// This test is just for comparison with the following tests.
96-
// On Node 0.10.x, the initial memory usage seems higher on Travis, so use
97-
// a higher maximum value to avoid flaky tests.
98-
var memMax = /^v0\./.test(process.version) ? 1200 : 550;
99-
performNRequests(100, 50, memMax, done);
96+
performNRequests(100, 50, 1200, done);
10097
});
10198

10299
// 100x 1k and 100x 50k for comparison.

0 commit comments

Comments
 (0)