Skip to content

Commit 3453230

Browse files
authored
Merge pull request ceph#56448 from Svelar/arm_pass_check_shard_select
test/test_mempool: skip check_shard_select test on ARM64
2 parents 0e36423 + 456fdff commit 3453230

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/test_mempool.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ TEST(mempool, btree_map_test)
404404
ASSERT_EQ(0, mempool::osd::allocated_bytes());
405405
}
406406

407+
#if !defined(__arm__) && !defined(__aarch64__)
407408
TEST(mempool, check_shard_select)
408409
{
409410
const size_t samples = mempool::num_shards * 100;
@@ -432,6 +433,7 @@ TEST(mempool, check_shard_select)
432433
// the distribution is bad enough to deserve a failure.
433434
EXPECT_LT(missed, mempool::num_shards / 2);
434435
}
436+
#endif
435437

436438

437439
int main(int argc, char **argv)

0 commit comments

Comments
 (0)