googleapis / gcs-resumable-upload

This repository has been deprecated. Support will end on November 1, 2023. Upload a file to Google Cloud Storage with built-in resumable behavior
MIT License
62 stars 33 forks source link

gcs-resumable-upload #makeRequest: should bypass authentication if emulator context detected failed #459

Closed flaky-bot[bot] closed 3 years ago

flaky-bot[bot] commented 3 years ago

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and I will stop commenting.


commit: d593ca623a5e97787b6cd28fbb0e487b1b05c3b6 buildURL: Build Status, Sponge status: failed

Test output
request to http://fake.local/?userProject=user-project-id failed, reason: Nock: No match for request {
  "method": "GET",
  "url": "http://fake.local/",
  "headers": {
    "x-my-header": [
      "My custom value"
    ],
    "accept": [
      "application/json"
    ],
    "user-agent": [
      "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
    ],
    "accept-encoding": [
      "gzip,deflate"
    ],
    "connection": [
      "close"
    ]
  }
}
FetchError: request to http://fake.local/?userProject=user-project-id failed, reason: Nock: No match for request {
  "method": "GET",
  "url": "http://fake.local/",
  "headers": {
    "x-my-header": [
      "My custom value"
    ],
    "accept": [
      "application/json"
    ],
    "user-agent": [
      "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"
    ],
    "accept-encoding": [
      "gzip,deflate"
    ],
    "connection": [
      "close"
    ]
  }
}
    at OverriddenClientRequest. (node_modules/node-fetch/lib/index.js:1494:11)
    at Socket. (node_modules/propagate/index.js:64:17)
    at /workspace/node_modules/nock/lib/socket.js:100:14
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
flaky-bot[bot] commented 3 years ago

Test passed for commit 23e86540cc8a8804856a9c7f37f1a483d6142294 (Build Status, Sponge)! Closing this issue.