Skip to content

Commit 5562ecb

Browse files
committed
test/osd/TestMClockScheduler: create_item should pass prio < cutoff
Cutoff is set to 12, so let's pass something < 12 rather than 12. Comments in some tests suggest that the intent is for create_item to create things in the mclock queue rather than the high_queue. Signed-off-by: Samuel Just <[email protected]>
1 parent b35589f commit 5562ecb

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
@@ -93,7 +93,7 @@ OpSchedulerItem create_item(
9393
return OpSchedulerItem(
9494
std::make_unique<mClockSchedulerTest::MockDmclockItem>(
9595
std::forward<Args>(args)...),
96-
12, 12,
96+
12, 1,
9797
utime_t(), owner, e);
9898
}
9999

0 commit comments

Comments
 (0)