mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
os/tests: silence -Wsign-compare warning
silence warning like In file included from /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/test/objectstore/store_test.cc:25:0: /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/googletest/googletest/include/gtest/gtest.h: In instantiation of 'testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = long unsigned int]': Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
b14751c18e
commit
0a517ec0ac
@ -7419,7 +7419,7 @@ TEST_P(StoreTest, mergeRegionTest) {
|
|||||||
final_len = (offset + chunk_size * 3 - 3) + (chunk_size * 2);
|
final_len = (offset + chunk_size * 3 - 3) + (chunk_size * 2);
|
||||||
bufferlist bl;
|
bufferlist bl;
|
||||||
r = store->read(ch, hoid, 0, final_len, bl);
|
r = store->read(ch, hoid, 0, final_len, bl);
|
||||||
ASSERT_EQ(r, final_len);
|
ASSERT_EQ(final_len, static_cast<uint64_t>(r));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // WITH_BLUESTORE
|
#endif // WITH_BLUESTORE
|
||||||
|
Loading…
Reference in New Issue
Block a user