parsonsmatt · GitHub

Weird, I am getting test suite failures locally for MongoDB:

  src/Init.hs:106:32:
  1) persistent.putMany handles conflicts by replacing old keys with new records
       expected: [Entity {entityKey = UpsertKey MongoKey {unMongoKey = 5caea9c3d4613542ae00082a}, entityVal = Upsert {upsertEmail = "putMany4", upsertAttr = "new", upsertExtra = "", upsertAge = 2}},Entity {entityKey = UpsertKey MongoKey {unMongoKey = 5caea9c3d4613542ae00082b}, entityVal = Upsert {upsertEmail = "putMany5", upsertAttr = "new", upsertExtra = "", upsertAge = 2}},Entity {entityKey = UpsertKey MongoKey {unMongoKey = 5caea7b6d46135390b00082d}, entityVal = Upsert {upsertEmail = "putMany6", upsertAttr = "new", upsertExtra = "", upsertAge = 2}},Entity {entityKey = UpsertKey MongoKey {unMongoKey = 5caea7b6d46135390b00082c}, entityVal = Upsert {upsertEmail = "putMany7", upsertAttr = "new", upsertExtra = "", upsertAge = 2}}]
        but got: [Entity {entityKey = UpsertKey MongoKey {unMongoKey = 5caea7b6d46135390b00082a}, entityVal = Upsert {upsertEmail = "putMany4", upsertAttr = "new", upsertExtra = "", upsertAge = 2}},Entity {entityKey = UpsertKey MongoKey {unMongoKey = 5caea7b6d46135390b00082b}, entityVal = Upsert {upsertEmail = "putMany5", upsertAttr = "new", upsertExtra = "", upsertAge = 2}},Entity {entityKey = UpsertKey MongoKey {unMongoKey = 5caea7b6d46135390b00082d}, entityVal = Upsert {upsertEmail = "putMany6", upsertAttr = "new", upsertExtra = "", upsertAge = 2}},Entity {entityKey = UpsertKey MongoKey {unMongoKey = 5caea7b6d46135390b00082c}, entityVal = Upsert {upsertEmail = "putMany7", upsertAttr = "new", upsertExtra = "", upsertAge = 2}}]
  To rerun use: --match "/persistent/putMany/handles conflicts by replacing old keys with new records/"

The IDs are different. I did not get these earlier when I was refactoring the test suite, and they don't appear to show up in CI?

Read the original on github.com ↗