Skip to content

Commit

Permalink
fix: 🐛 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli committed Aug 9, 2023
1 parent 6062546 commit fd5d749
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func (g *eventstoredbTestContainers) getRunOptions(
ExposedPorts: g.defaultOptions.Ports,
WaitingFor: wait.ForListeningPort(nat.Port(g.defaultOptions.Ports[0])),
Hostname: g.defaultOptions.Host,
SkipReaper: true,
// we use `EVENTSTORE_IN_MEM` for use eventstoredb in-memory mode in tests
Env: map[string]string{
"EVENTSTORE_START_STANDARD_PROJECTIONS": "false",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func (g *gormTestContainers) getRunOptions(
ExposedPorts: []string{g.defaultOptions.Port},
WaitingFor: wait.ForListeningPort(nat.Port(g.defaultOptions.Port)),
Hostname: g.defaultOptions.Host,
SkipReaper: true,
Env: map[string]string{
"POSTGRES_DB": g.defaultOptions.Database,
"POSTGRES_PASSWORD": g.defaultOptions.Password,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ func (g *mongoTestContainers) getRunOptions(
ExposedPorts: []string{g.defaultOptions.Port},
WaitingFor: wait.ForListeningPort(nat.Port(g.defaultOptions.Port)),
Hostname: g.defaultOptions.Host,
SkipReaper: true,
Env: map[string]string{
"MONGO_INITDB_ROOT_USERNAME": g.defaultOptions.UserName,
"MONGO_INITDB_ROOT_PASSWORD": g.defaultOptions.Password,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func (g *postgresPgxTestContainers) getRunOptions(
ExposedPorts: []string{g.defaultOptions.Port},
WaitingFor: wait.ForListeningPort(nat.Port(g.defaultOptions.Port)),
Hostname: g.defaultOptions.Host,
SkipReaper: true,
Env: map[string]string{
"POSTGRES_DB": g.defaultOptions.Database,
"POSTGRES_PASSWORD": g.defaultOptions.Password,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func (g *rabbitmqTestContainers) getRunOptions(
ExposedPorts: g.defaultOptions.Ports,
WaitingFor: wait.ForListeningPort(nat.Port(g.defaultOptions.Ports[0])),
Hostname: g.defaultOptions.Host,
SkipReaper: true,
Env: map[string]string{
"RABBITMQ_DEFAULT_USER": g.defaultOptions.UserName,
"RABBITMQ_DEFAULT_PASS": g.defaultOptions.Password,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (g *redisTestContainers) getRunOptions(
ExposedPorts: []string{g.defaultOptions.Port},
WaitingFor: wait.ForListeningPort(nat.Port(g.defaultOptions.Port)),
Hostname: g.defaultOptions.Host,
SkipReaper: true,
Env: map[string]string{},
}

Expand Down

0 comments on commit fd5d749

Please sign in to comment.