Skip to content

Commit

Permalink
MongoDB version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottKayeNeo committed Jan 8, 2025
1 parent 571cf41 commit 9f25f9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
db-connection-env-var: MONGO_CONNECTION_STRING
run-command: yarn ci:validate
binary-version: 4.4.6
binary-version: 6.0.15
instance-dbName: validation
instance-port: 27018
instance-storageEngine: wiredTiger
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ In your .github/workflows folder, add a new job step to the appropriate workflow
with:
db-connection-env-var: MONGODB_CONNECTION_STRING
run-command: yarn use:database
binary-version: 4.4.6
binary-version: 6.0.15
instance-dbName: validation
instance-port: 27017
instance-storageEngine: wiredTiger
Expand Down
6 changes: 4 additions & 2 deletions test/factory.memory-server-factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let server: MongoMemoryServer;
const expectedPort = 27019;
const expectedDbName = 'validation';
const expectedStorageEngine: StorageEngine = 'wiredTiger';
const expectedVersion = '4.4.6';
const expectedVersion = '6.0.15';

describe('MemoryServerFactory', () => {
describe('generateMemoryServer', () => {
Expand Down Expand Up @@ -90,7 +90,9 @@ describe('MemoryServerFactory', () => {
expectedVersion
);

await expect(promise).rejects.toThrow(`options.port should be >= 0 and < 65536. Received type number (${badPort}).`);
await expect(promise).rejects.toThrow(
`options.port should be >= 0 and < 65536. Received type number (${badPort}).`
);
});

test('unfortunately does NOT throw an error when provided a dbName that is too long', async () => {
Expand Down

0 comments on commit 9f25f9c

Please sign in to comment.