-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PostgreSQL Test Containers for Integration Testing (#602)
* Add PostgreSQL test containers to integration tests * Introduced `setupPostgreSQLTestContainer` to initialize and start a PostgreSQL test container using Testcontainers. * Updated existing tests in `api`, `cmd`, and `network` packages to use the test containers for PostgreSQL. * Removed hardcoded PostgreSQL addresses and replaced them with dynamic test container addresses. * Refactored the test setup to ensure consistent test environments across multiple test files. * Moved server log test after clients testes * Create testhelper package and add SetupPostgreSQLTestContainer for reuse in other packages
- Loading branch information
1 parent
4510a51
commit c46518f
Showing
12 changed files
with
325 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.