Skip to content

Commit 9ad2e3e

Browse files
authored
Ignore collectionUUID field if present in change stream tests (#1684)
JAVA-5853
1 parent b7cb24a commit 9ad2e3e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

driver-core/src/test/functional/com/mongodb/internal/operation/AggregateOperationSpecification.groovy

+1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ class AggregateOperationSpecification extends OperationFunctionalSpecification {
197197
doc.remove('_id')
198198
doc.remove('clusterTime')
199199
doc.remove('wallTime')
200+
doc.remove('collectionUUID')
200201
doc
201202
}
202203
nextDoc == expected

driver-core/src/test/functional/com/mongodb/internal/operation/ChangeStreamOperationSpecification.groovy

+1
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,7 @@ class ChangeStreamOperationSpecification extends OperationFunctionalSpecificatio
787787
doc.remove('_id')
788788
doc.remove('clusterTime')
789789
doc.remove('wallTime')
790+
doc.remove('collectionUUID')
790791
doc
791792
}
792793
}

0 commit comments

Comments
 (0)