Skip to content

Commit

Permalink
scope mongo container version (#896)
Browse files Browse the repository at this point in the history
Co-authored-by: Ciaran Schutte <[email protected]>
  • Loading branch information
ciaranschutte and Ciaran Schutte authored Feb 6, 2023
1 parent a79e9a9 commit f16ddee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/clinical/clinical.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('clinical Api', () => {
before(() => {
return (async () => {
try {
mongoContainer = await new GenericContainer('mongo').withExposedPorts(27017).start();
mongoContainer = await new GenericContainer('mongo', '4.0').withExposedPorts(27017).start();
dburl = `mongodb://${mongoContainer.getContainerIpAddress()}:${mongoContainer.getMappedPort(
27017,
)}/clinical`;
Expand Down

0 comments on commit f16ddee

Please sign in to comment.