File tree 4 files changed +38
-41
lines changed
specifications/command-logging-and-monitoring/tests/monitoring
tests/MongoDB.Driver.Tests/UnifiedTestOperations
4 files changed +38
-41
lines changed Original file line number Diff line number Diff line change 95
95
"ordered" : false
96
96
},
97
97
"expectResult" : {
98
- "insertedCount" : {
99
- "$$unsetOrMatches" : 0
100
- },
101
- "upsertedCount" : {
102
- "$$unsetOrMatches" : 0
103
- },
104
- "matchedCount" : {
105
- "$$unsetOrMatches" : 0
106
- },
107
- "modifiedCount" : {
108
- "$$unsetOrMatches" : 0
109
- },
110
- "deletedCount" : {
111
- "$$unsetOrMatches" : 0
112
- },
113
- "insertResults" : {
114
- "$$unsetOrMatches" : {}
115
- },
116
- "updateResults" : {
117
- "$$unsetOrMatches" : {}
118
- },
119
- "deleteResults" : {
120
- "$$unsetOrMatches" : {}
98
+ "$$unsetOrMatches" : {
99
+ "acknowledged" : {
100
+ "$$unsetOrMatches" : false
101
+ },
102
+ "insertedCount" : {
103
+ "$$unsetOrMatches" : 0
104
+ },
105
+ "upsertedCount" : {
106
+ "$$unsetOrMatches" : 0
107
+ },
108
+ "matchedCount" : {
109
+ "$$unsetOrMatches" : 0
110
+ },
111
+ "modifiedCount" : {
112
+ "$$unsetOrMatches" : 0
113
+ },
114
+ "deletedCount" : {
115
+ "$$unsetOrMatches" : 0
116
+ },
117
+ "insertResults" : {
118
+ "$$unsetOrMatches" : {}
119
+ },
120
+ "updateResults" : {
121
+ "$$unsetOrMatches" : {}
122
+ },
123
+ "deleteResults" : {
124
+ "$$unsetOrMatches" : {}
125
+ }
121
126
}
122
127
}
123
128
},
Original file line number Diff line number Diff line change @@ -52,22 +52,16 @@ tests:
52
52
update : { $set: { x: 333 } }
53
53
ordered : false
54
54
expectResult :
55
- insertedCount :
56
- $$unsetOrMatches : 0
57
- upsertedCount :
58
- $$unsetOrMatches : 0
59
- matchedCount :
60
- $$unsetOrMatches : 0
61
- modifiedCount :
62
- $$unsetOrMatches : 0
63
- deletedCount :
64
- $$unsetOrMatches : 0
65
- insertResults :
66
- $$unsetOrMatches : {}
67
- updateResults :
68
- $$unsetOrMatches : {}
69
- deleteResults :
70
- $$unsetOrMatches : {}
55
+ $$unsetOrMatches :
56
+ acknowledged : { $$unsetOrMatches: false }
57
+ insertedCount : { $$unsetOrMatches: 0 }
58
+ upsertedCount : { $$unsetOrMatches: 0 }
59
+ matchedCount : { $$unsetOrMatches: 0 }
60
+ modifiedCount : { $$unsetOrMatches: 0 }
61
+ deletedCount : { $$unsetOrMatches: 0 }
62
+ insertResults : { $$unsetOrMatches: {} }
63
+ updateResults : { $$unsetOrMatches: {} }
64
+ deleteResults : { $$unsetOrMatches: {} }
71
65
# Force completion of the w:0 write by executing a find on the same connection
72
66
- object : *collection
73
67
name : find
Original file line number Diff line number Diff line change 19
19
using FluentAssertions ;
20
20
using MongoDB . Bson ;
21
21
using MongoDB . Bson . IO ;
22
- using MongoDB . Driver ;
23
22
using MongoDB . TestHelpers . XunitExtensions ;
24
23
using Xunit . Sdk ;
25
24
Original file line number Diff line number Diff line change 18
18
using System . Linq ;
19
19
using System . Threading ;
20
20
using System . Threading . Tasks ;
21
- using FluentAssertions ;
22
21
using MongoDB . Bson ;
23
22
24
23
namespace MongoDB . Driver . Tests . UnifiedTestOperations
You can’t perform that action at this time.
0 commit comments