Skip to content

Intermittent test failure: test.bulk_docs.js-http #6039 test id in bulk docs for conflict #8700

@alxndrsn

Description

@alxndrsn

https://github.com/pouchdb/pouchdb/actions/runs/5326757967/jobs/9649268649#step:5:3762

  1) test.bulk_docs.js-http #6039 test id in bulk docs for conflict:

      AssertionError: expected [ Array(5) ] to deeply equal [ Array(5) ]
      + expected - actual

           "id": "1"
           "rev": "rev_placeholder"
         }
         {
      -    "id": "3"
      -    "rev": "rev_placeholder"
      -  }
      -  {
           "error": true
           "id": "2"
           "name": "conflict"
           "status": 409
         }
         {
      +    "id": "3"
      +    "rev": "rev_placeholder"
      +  }
      +  {
           "error": true
           "id": "4"
           "name": "conflict"
           "status": 409
      
      at Assertion.assertEqual (node_modules/chai/lib/chai/core/assertions.js:485:19)
      at Assertion.ctx.<computed> (node_modules/chai/lib/chai/utils/addMethod.js:41:25)
      at doAsserterAsyncAndAddThen (node_modules/chai-as-promised/lib/chai-as-promised.js:296:33)
      at Assertion.<anonymous> (node_modules/chai-as-promised/lib/chai-as-promised.js:255:21)
      at Assertion.ctx.<computed> [as equal] (node_modules/chai/lib/chai/utils/overwriteMethod.js:49:33)
      at tests/integration/test.bulk_docs.js:121:25
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions