trustbloc / edv

Encrypted data vault implementation in Golang - https://identity.foundation/edv-spec/
Apache License 2.0
16 stars 17 forks source link

Root capability failure when running BDD tests with in-memory storage #219

Open DRK3 opened 3 years ago

DRK3 commented 3 years ago

If you try running the BDD tests with the in-memory storage provider option instead of MongoDB or CouchDB, you'll get the following error:

  Scenario: Full end-to-end flow. Create a data vault, store an encrypted document, and then retrieve the encrypted document. Query using an encrypted index. Update an encrypted document and then retrieve the encrypted document. # features/edv_e2e_api.feature:11
    Then Client stores the Encrypted Document in the data vault # features/edv_e2e_api.feature:15
      Error: the EDV server returned status code 400 along with the following message: failed to get root capability EKVR3yqNxMLFrncfZC7eQv from db: data not found