File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
tests/UnifiedSpecTests/change-streams Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1748
1748
]
1749
1749
}
1750
1750
]
1751
+ },
1752
+ {
1753
+ "description" : " Test wallTime field is set in a change event" ,
1754
+ "runOnRequirements" : [
1755
+ {
1756
+ "minServerVersion" : " 6.0.0"
1757
+ }
1758
+ ],
1759
+ "operations" : [
1760
+ {
1761
+ "name" : " createChangeStream" ,
1762
+ "object" : " collection0" ,
1763
+ "arguments" : {
1764
+ "pipeline" : []
1765
+ },
1766
+ "saveResultAsEntity" : " changeStream0"
1767
+ },
1768
+ {
1769
+ "name" : " insertOne" ,
1770
+ "object" : " collection0" ,
1771
+ "arguments" : {
1772
+ "document" : {
1773
+ "_id" : 1 ,
1774
+ "a" : 1
1775
+ }
1776
+ }
1777
+ },
1778
+ {
1779
+ "name" : " iterateUntilDocumentOrError" ,
1780
+ "object" : " changeStream0" ,
1781
+ "expectResult" : {
1782
+ "operationType" : " insert" ,
1783
+ "ns" : {
1784
+ "db" : " database0" ,
1785
+ "coll" : " collection0"
1786
+ },
1787
+ "wallTime" : {
1788
+ "$$exists" : true
1789
+ }
1790
+ }
1791
+ }
1792
+ ]
1751
1793
}
1752
1794
]
1753
1795
}
You can’t perform that action at this time.
0 commit comments