Skip to content

Commit 0938a59

Browse files
committed
test/osd/TestMClockScheduler: TestMultiClientOrderedEnqueueDequeue use client class
Otherwise, scheduler will yield a delay eventually. Signed-off-by: Samuel Just <[email protected]>
1 parent 5562ecb commit 0938a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/osd/TestMClockScheduler.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ TEST_F(mClockSchedulerTest, TestMultiClientOrderedEnqueueDequeue) {
175175
const unsigned NUM = 1000;
176176
for (unsigned i = 0; i < NUM; ++i) {
177177
for (auto &&c: {client1, client2, client3}) {
178-
q.enqueue(create_item(i, c));
178+
q.enqueue(create_item(i, c, op_scheduler_class::client));
179179
std::this_thread::sleep_for(std::chrono::microseconds(1));
180180
}
181181
}

0 commit comments

Comments
 (0)