Fix the binshard unit test.
The test attempts to trigger usage of multiple sharded bins, which percpu_arena makes it less reliable.
This commit is contained in:
parent
064d6e570e
commit
6fe11633b0
@ -82,6 +82,9 @@ thd_start(void *varg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST_BEGIN(test_bin_shard_mt) {
|
TEST_BEGIN(test_bin_shard_mt) {
|
||||||
|
test_skip_if(have_percpu_arena &&
|
||||||
|
PERCPU_ARENA_ENABLED(opt_percpu_arena));
|
||||||
|
|
||||||
thd_t thds[NTHREADS];
|
thd_t thds[NTHREADS];
|
||||||
unsigned i;
|
unsigned i;
|
||||||
for (i = 0; i < NTHREADS; i++) {
|
for (i = 0; i < NTHREADS; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user