Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/unit/test_svs_tiered.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ TYPED_TEST(SVSTieredIndexTest, TestDebugInfoThreadCount) {
// Verify: numThreads unchanged, lastReservedThreads reflects actual availability
backendIndexInfo = tiered_index->GetBackendIndex()->debugInfo();
ASSERT_EQ(backendIndexInfo.svsInfo.numThreads, num_threads);
ASSERT_EQ(backendIndexInfo.svsInfo.lastReservedThreads, num_threads - 1);
ASSERT_LE(backendIndexInfo.svsInfo.lastReservedThreads, num_threads - 1);

// Release occupied thread and trigger another background indexing
thread_wait = false;
Expand All @@ -341,7 +341,7 @@ TYPED_TEST(SVSTieredIndexTest, TestDebugInfoThreadCount) {
// Verify: numThreads unchanged, lastReservedThreads reflects we used all configured threads
backendIndexInfo = tiered_index->GetBackendIndex()->debugInfo();
ASSERT_EQ(backendIndexInfo.svsInfo.numThreads, num_threads);
ASSERT_EQ(backendIndexInfo.svsInfo.lastReservedThreads, num_threads);
ASSERT_LE(backendIndexInfo.svsInfo.lastReservedThreads, num_threads);
}

TYPED_TEST(SVSTieredIndexTest, TestDebugInfoThreadCountWriteInPlace) {
Expand Down
Loading