summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/query/ce/ce_edge_cases_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/query/ce/ce_edge_cases_test.cpp b/src/mongo/db/query/ce/ce_edge_cases_test.cpp
index 51d400c10fb..4d8d84f831a 100644
--- a/src/mongo/db/query/ce/ce_edge_cases_test.cpp
+++ b/src/mongo/db/query/ce/ce_edge_cases_test.cpp
@@ -746,6 +746,8 @@ TEST(EstimatorTest, TwoBucketsMixedHistogram) {
ASSERT_APPROX_EQUAL(45.5, expectedCard, kErrorBound);
}
+// TODO: enable the following test after SERVER-71376 Fix histogram generation on MacOs
+#if 0
/**
* Tests for cardinality estimates for queries over minimum values of date, timestamp, and objectId
* types. When the histogram has at least 2 buckets per data type, the minimum value, if present in
@@ -924,6 +926,7 @@ TEST(EstimatorTest, MinValueMixedHistogramFromData) {
true /* includeScalar */);
ASSERT_EQ(3.0, expectedCard);
}
+#endif
TEST(EstimatorTest, MinValueMixedHistogramFromBuckets) {
const auto endOid = OID("63340dbed6cd8af737d4139a");