Skip to content

Commit e653c51

Browse files
committed
Disable test
1 parent 8e2c785 commit e653c51

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/unit/rpc/WorkQueueTests.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
//==============================================================================
1919

2020
#include "rpc/WorkQueue.hpp"
21-
#include "util/LoggerFixtures.hpp"
2221
#include "util/MockAssert.hpp"
2322
#include "util/MockPrometheus.hpp"
2423
#include "util/config/ConfigDefinition.hpp"
@@ -58,7 +57,7 @@ struct RPCWorkQueueTestBase : public virtual ::testing::Test {
5857
}
5958
};
6059

61-
struct WorkQueueTest : WithPrometheus, RPCWorkQueueTestBase, LoggerFixture {
60+
struct WorkQueueTest : WithPrometheus, RPCWorkQueueTestBase {
6261
WorkQueueTest() : RPCWorkQueueTestBase(/* workers = */ 4, /* maxQueueSize = */ 2)
6362
{
6463
}
@@ -115,7 +114,7 @@ TEST_F(WorkQueueTest, NonWhitelistedPreventSchedulingAtQueueLimitExceeded)
115114
EXPECT_TRUE(unblocked);
116115
}
117116

118-
struct WorkQueueDelayedStartTest : WithPrometheus, LoggerFixture {
117+
struct WorkQueueDelayedStartTest : WithPrometheus {
119118
WorkQueue queue{WorkQueue::kDONT_START_PROCESSING_TAG, /* numWorkers = */ 1, /* maxSize = */ 100};
120119
};
121120

@@ -265,9 +264,10 @@ TEST_F(WorkQueueMockPrometheusTest, postCoroCounters)
265264
}
266265

267266
// Note: not using EXPECT_CLIO_ASSERT_FAIL because exception is swallowed by the WQ context
267+
// TODO [https://github.com/XRPLF/clio/issues/2906]: Enable the test once we figure out a better way to do it without
268+
// using up >2 minutes of CI time
268269
struct WorkQueueDeathTest : WorkQueueMockPrometheusTest, common::util::WithMockAssert {};
269-
270-
TEST_F(WorkQueueDeathTest, ExecuteTaskAssertsWhenQueueIsEmpty)
270+
TEST_F(WorkQueueDeathTest, DISABLED_ExecuteTaskAssertsWhenQueueIsEmpty)
271271
{
272272
[[maybe_unused]] auto& queuedMock = makeMock<CounterInt>("work_queue_queued_total_number", "");
273273
[[maybe_unused]] auto& durationMock = makeMock<CounterInt>("work_queue_cumulative_tasks_duration_us", "");

0 commit comments

Comments
 (0)