summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilena Ivanova <milena.ivanova@mongodb.com>2022-11-15 21:35:15 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-23 12:29:33 +0000
commit94323d60ebcc84a45b845e298701ca766e31dcfd (patch)
tree150d06a895c5d3a96727e057f5c2d5b2217cd697
parent0743b9dbdb32b8c384b44af3c3a326437c013451 (diff)
downloadmongo-94323d60ebcc84a45b845e298701ca766e31dcfd.tar.gz
SERVER-71370 Disable test failing on MacOs
(cherry picked from commit 6e0c9c3b24c0100f43239ada69861055613ca0bf)
-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");