Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Do not test for obviously invalid thread id
  • Loading branch information
jbachorik committed Jul 3, 2025
commit e932fc44b3a12e52d8fed86b3b9ac65fb9c2d95c
2 changes: 1 addition & 1 deletion ddprof-lib/src/test/cpp/ddprof_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
// increase step gradually to create different bit densities
int step = 1;
int size = 0;
for (int tid = 0; tid < maxTid - step - 1; tid += step, size++) {
for (int tid = 1; tid < maxTid - step - 1; tid += step, size++) {
EXPECT_FALSE(filter.accept(tid));
filter.add(tid);
EXPECT_TRUE(filter.accept(tid));
Expand Down