Disable bad tests

This commit is contained in:
Raúl Marín 2024-08-05 17:20:41 +02:00
parent a296beb390
commit 146b8afce6

View File

@ -10,7 +10,9 @@ using namespace DB;
using ResourceTest = ResourceTestClass; using ResourceTest = ResourceTestClass;
TEST(SchedulerThrottlerConstraint, LeakyBucketConstraint) /// Test disabled because of leaks in the test themselves: https://github.com/ClickHouse/ClickHouse/issues/67678
TEST(DISABLED_SchedulerThrottlerConstraint, LeakyBucketConstraint)
{ {
ResourceTest t; ResourceTest t;
EventQueue::TimePoint start = std::chrono::system_clock::now(); EventQueue::TimePoint start = std::chrono::system_clock::now();
@ -40,7 +42,7 @@ TEST(SchedulerThrottlerConstraint, LeakyBucketConstraint)
t.consumed("A", 10); t.consumed("A", 10);
} }
TEST(SchedulerThrottlerConstraint, Unlimited) TEST(DISABLED_SchedulerThrottlerConstraint, Unlimited)
{ {
ResourceTest t; ResourceTest t;
EventQueue::TimePoint start = std::chrono::system_clock::now(); EventQueue::TimePoint start = std::chrono::system_clock::now();
@ -57,7 +59,7 @@ TEST(SchedulerThrottlerConstraint, Unlimited)
} }
} }
TEST(SchedulerThrottlerConstraint, Pacing) TEST(DISABLED_SchedulerThrottlerConstraint, Pacing)
{ {
ResourceTest t; ResourceTest t;
EventQueue::TimePoint start = std::chrono::system_clock::now(); EventQueue::TimePoint start = std::chrono::system_clock::now();
@ -77,7 +79,7 @@ TEST(SchedulerThrottlerConstraint, Pacing)
} }
} }
TEST(SchedulerThrottlerConstraint, BucketFilling) TEST(DISABLED_SchedulerThrottlerConstraint, BucketFilling)
{ {
ResourceTest t; ResourceTest t;
EventQueue::TimePoint start = std::chrono::system_clock::now(); EventQueue::TimePoint start = std::chrono::system_clock::now();
@ -111,7 +113,7 @@ TEST(SchedulerThrottlerConstraint, BucketFilling)
t.consumed("A", 3); t.consumed("A", 3);
} }
TEST(SchedulerThrottlerConstraint, PeekAndAvgLimits) TEST(DISABLED_SchedulerThrottlerConstraint, PeekAndAvgLimits)
{ {
ResourceTest t; ResourceTest t;
EventQueue::TimePoint start = std::chrono::system_clock::now(); EventQueue::TimePoint start = std::chrono::system_clock::now();
@ -139,7 +141,7 @@ TEST(SchedulerThrottlerConstraint, PeekAndAvgLimits)
} }
} }
TEST(SchedulerThrottlerConstraint, ThrottlerAndFairness) TEST(DISABLED_SchedulerThrottlerConstraint, ThrottlerAndFairness)
{ {
ResourceTest t; ResourceTest t;
EventQueue::TimePoint start = std::chrono::system_clock::now(); EventQueue::TimePoint start = std::chrono::system_clock::now();