Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Avoid retries in e2e tests (#260)
Browse files Browse the repository at this point in the history
The new retry-request behavior was causing timeouts on the e2e tests. We
avoid this by using request instead.

PR-URL: #260
  • Loading branch information
matthewloring committed May 16, 2017
1 parent 8a119de commit 5f45dbf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/fixtures/fib.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ function fib(n) {
* limitations under the License.
*/

var proxyquire = require('proxyquire');
proxyquire('gcp-metadata', {
'retry-request': require('request')
});

var debuglet = require('../..').start({
debug: {
logLevel: 2,
Expand Down

0 comments on commit 5f45dbf

Please sign in to comment.