nasa / Common-Metadata-Repository

Apache License 2.0
337 stars 92 forks source link

CMR-9850: Update usage of Testcontainers #2107

Closed TylerHeald1 closed 4 months ago

TylerHeald1 commented 4 months ago

Overview

Updating usage of Testcontainers

What is the feature/fix?

updating our usage of testcontainers a bit

What is the Solution?

Changed what we look for for container startup, but also the ordering of withStartupTimeout. Set startup timeout gets overwritten by setting a waitingFor WaitStrategy. Also added a docker compose file that can potentially be used for local dev and addressed some linter output

What areas of the application does this impact?

Integration tests, local dev

Checklist