Skip to content

Commit e932fc4

Browse files
committed
Do not test for obviously invalid thread id
1 parent 2272c5e commit e932fc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ddprof-lib/src/test/cpp/ddprof_ut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
// increase step gradually to create different bit densities
130130
int step = 1;
131131
int size = 0;
132-
for (int tid = 0; tid < maxTid - step - 1; tid += step, size++) {
132+
for (int tid = 1; tid < maxTid - step - 1; tid += step, size++) {
133133
EXPECT_FALSE(filter.accept(tid));
134134
filter.add(tid);
135135
EXPECT_TRUE(filter.accept(tid));

0 commit comments

Comments
 (0)