Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colossus S3 testing #5151

Open
6 tasks
ignazio-bovo opened this issue May 20, 2024 · 0 comments
Open
6 tasks

Colossus S3 testing #5151

ignazio-bovo opened this issue May 20, 2024 · 0 comments
Assignees

Comments

@ignazio-bovo
Copy link
Contributor

ignazio-bovo commented May 20, 2024

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 ignazio-bovo self-assigned this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant