Skip to content

Commit

Permalink
use performant hammock
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Sep 23, 2016
1 parent b5820c7 commit 738f0c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/proxy_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ test('reroutes retry to remote', function t(assert) {
retrySchedule: [1]
}, function onRequest(err, res) {
assert.ifError(err, 'no error occurs');
assert.equal(res.body, 'rerouted', 'response from rerouted request is correct');
assert.equal(res.body.toString(), 'rerouted', 'response from rerouted request is correct');

cluster.destroy();
assert.end();
Expand Down Expand Up @@ -896,7 +896,7 @@ test('can serialize response body', function t(assert) {
assert.ifError(err);

assert.equal(resp.statusCode, 200);
assert.equal(resp.body, 'hello');
assert.equal(resp.body.toString(), 'hello');

cluster.destroy();
assert.end();
Expand Down

0 comments on commit 738f0c2

Please sign in to comment.