joystream icon indicating copy to clipboard operation
joystream copied to clipboard

Colossus S3 testing

Open ignazio-bovo opened this issue 9 months ago • 0 comments

Unit testing

The interface itself doesn't present precondition that should be tested in isolation. I will skip this for now

Integration testing

The IConnectionHandler will be mocked, for these tests. The objective is to test the interaction between Service and IConnectionHandler, with Service being

  • [ ] Sync/StorageProviderSyncTask
  • [ ] Sync/DeleteObject
  • [ ] getFile
  • [ ] AcceptObject

E2E (local)

  • [ ] content scenario run with STORAGE_PROVIDER_ENABLED=true and wrong AWS credential should panic and shut down Colossus immediately (to avoid lost objects errors)
  • [ ] content scenario run with localstack and STORAGE_PROVIDER_ENABLED=true and correct setting should provide a successful scenario run

ignazio-bovo avatar May 20 '24 11:05 ignazio-bovo