We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b6bd2f commit 3011533Copy full SHA for 3011533
mongo/integration/collection_test.go
@@ -39,7 +39,7 @@ func TestCollection(t *testing.T) {
39
// impossibleWc is a write concern that can't be satisfied and is used to test write concern errors
40
// for various operations. It includes a timeout because legacy servers will wait for all W nodes to respond,
41
// causing tests to hang.
42
- impossibleWc := writeconcern.New(writeconcern.W(500), writeconcern.WTimeout(time.Second))
+ impossibleWc := writeconcern.New(writeconcern.W(30), writeconcern.WTimeout(time.Second))
43
44
mt.RunOpts("insert one", noClientOpts, func(mt *mtest.T) {
45
mt.Run("success", func(mt *mtest.T) {
0 commit comments