Skip to content

storage file generations: should throw an error Precondition Failed on overwrite with version 0, then save file with and without resumable failed #1480

@flaky-bot

Description

@flaky-bot

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: 1b763e4
buildURL: Build Status, Sponge
status: failed

Test output
Expected values to be strictly deep-equal:
+ actual - expected

Comparison {
code: 412,

  • message: 'At least one of the pre-conditions you specified did not hold.'
  • message: 'Precondition Failed'
    }

    • expected - actual

    {
    "code": 412

    • "errors": [
    • {
    •  "domain": "global"
      
    •  "location": "If-Match"
      
    •  "locationType": "header"
      
    •  "message": "At least one of the pre-conditions you specified did not hold."
      
    •  "reason": "conditionNotMet"
      
    • }
    • ]
    • "message": "At least one of the pre-conditions you specified did not hold."
    • "message": "Precondition Failed"
      }

AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:

  • actual - expected

    Comparison {
    code: 412,

  • message: 'At least one of the pre-conditions you specified did not hold.'

  • message: 'Precondition Failed'
    }
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Context. (build/system-test/storage.js:2416:13)
    -> /workspace/system-test/storage.ts:3380:7

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/nodejs-storage API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions