Skip to content

fix: update server description when equal #2256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 50 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
d4a51a4
doc: remove needless reference to current driver version
mbroadst Jan 24, 2020
41ee8e0
docs: provide basic migration updates for v3.5.xwq
mbroadst Jan 24, 2020
ffe92a9
Merge branch '3.5'
mbroadst Jan 29, 2020
2030a69
chore: sync retryable-writes tests
mbroadst Jan 29, 2020
5f04660
test: update retryable-writes test runner to use new format
mbroadst Jan 29, 2020
7bbad9c
refactor: make `errorLabels` a private set of `MongoError`
mbroadst Feb 1, 2020
c775a4a
feat: expand use of error labels for retryable writes
mbroadst Feb 2, 2020
bb4689e
chore: resync retryable-writes tests for 4.3 mongos issues
mbroadst Feb 5, 2020
9b80c24
refactor: explicitly return a boolean for errorLabel presence
mbroadst Feb 5, 2020
6449f04
test: all tests simulating stepdown must now include an error code
mbroadst Feb 5, 2020
c1bff29
test: force use of a single host for sharded topology tests
mbroadst Feb 5, 2020
a89d491
test: ensure OP_MSG exhaust functional test is run against single
mbroadst Feb 5, 2020
79f4c65
test: remove assertion that `mongodb-core` exists in metadata
mbroadst Feb 5, 2020
fefc165
feat: use error labels for retryable writes in legacy topologies
mbroadst Feb 5, 2020
265fe40
fix: only consider MongoError subclasses for retryability
mbroadst Feb 5, 2020
68170da
Merge branch '3.5'
mbroadst Feb 6, 2020
6b9ff05
feat: support shorter SCRAM conversations
mbroadst Feb 10, 2020
292fe08
chore: sync CRUD v2 spec tests for 4.4 compat
mbroadst Feb 10, 2020
faee15b
feat: support passing a hint to findOneAndReplace/findOneAndUpdate
mbroadst Feb 11, 2020
dbc0b37
feat: support `allowDiskUse` for find commands
mbroadst Feb 11, 2020
a110ee4
chore: sync read-write-concern spec tests
mbroadst Feb 11, 2020
e855c83
fix: pass options into `commandSupportsReadConcern`
mbroadst Feb 11, 2020
c1ed2c1
fix: use properly camel cased form of `mapReduce` for command
mbroadst Feb 11, 2020
637f428
fix: support write concern provided as string in `fromOptions`
mbroadst Feb 11, 2020
62b39a0
refactor: begin to provide formal specs for test operations
mbroadst Feb 11, 2020
11f8792
test: improve testing of default write concern
mbroadst Feb 11, 2020
8b8a20c
refactor: spec test runner should support pre-sessions mongodb
mbroadst Feb 11, 2020
24155e7
feat: deprecate `oplogReplay` for find commands
mbroadst Feb 13, 2020
6d3f313
feat: bump wire protocol version for 4.4
mbroadst Feb 13, 2020
979d41e
fix: store name of collection for more informative error messages
mbroadst Feb 13, 2020
acdb648
doc: document new `background` option for `validateCollection`
mbroadst Feb 13, 2020
db991d6
fix(sdam): use ObjectId comparison to track maxElectionId
mbroadst Feb 21, 2020
b98a00a
chore: move sdam spec unit tests from `unit/core` to `unit/sdam`
mbroadst Feb 21, 2020
7f3cfba
feat: add MONGODB-AWS as a supported auth mechanism
mbroadst Feb 13, 2020
2d607fa
refactor: don't authenticate monitoring connections
mbroadst Feb 26, 2020
c4add7b
Merge branch '3.5'
mbroadst Feb 26, 2020
e6dc1f4
fix: don't depend on private node api for `Timeout` wrapper
mbroadst Feb 26, 2020
69d10ba
docs: fix typo and formatting of bulletted lists
stevenhair Feb 26, 2020
9ad0def
docs: update community links to use MongoDB Community forums
sindbach Mar 3, 2020
ade9a62
refactor: default to unified topology
mbroadst Feb 28, 2020
6aa2434
feat: remove legacy topology types
mbroadst Mar 2, 2020
79cbe09
chore: remove `shallowClone` util helper
mbroadst Mar 5, 2020
8c5197a
refactor: merge core and native error files
mbroadst Mar 6, 2020
8807508
refactor: remove the core module
mbroadst Mar 8, 2020
4c852e7
chore: remove evergreen configuration for unified topology
mbroadst Mar 9, 2020
2355997
doc(examples): remove unused imported module `assert`
isaacdecoded Mar 9, 2020
8a79aad
fix: update server description when equal to keep client-tracked attr…
emadum Mar 9, 2020
e8c4561
clean up
emadum Mar 9, 2020
bbacab4
add spec test sdam/rs/repeated
emadum Mar 10, 2020
223f99b
Merge branch '3.5' into NODE-2474/update-equal-server-description
emadum Mar 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: improve testing of default write concern
  • Loading branch information
mbroadst committed Feb 11, 2020
commit 11f879204cf59e9c57557aa7001da46dfc90c491
19 changes: 19 additions & 0 deletions test/functional/write_concern.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
'use strict';

const TestRunnerContext = require('./spec-runner').TestRunnerContext;
const generateTopologyTests = require('./spec-runner').generateTopologyTests;
const loadSpecTests = require('../spec').loadSpecTests;

describe('Write Concern', function() {
describe('spec tests', function() {
const testContext = new TestRunnerContext();
const testSuites = loadSpecTests('read-write-concern/operation');

after(() => testContext.teardown());
before(function() {
return testContext.setup(this.configuration);
});

generateTopologyTests(testSuites, testContext);
});
});