Skip to content

Tests: fix new defrag test to be skipped when not supported#8185

Merged
oranagra merged 1 commit intoredis:unstablefrom
oranagra:skip-defrag-test
Dec 14, 2020
Merged

Tests: fix new defrag test to be skipped when not supported#8185
oranagra merged 1 commit intoredis:unstablefrom
oranagra:skip-defrag-test

Conversation

@oranagra
Copy link
Member

Additionally the older defrag tests are using an obsolete way to check
if the defragger is suuported (the error no longer contains "DISABLED").
this doesn't usually makes a difference since these tests are completely
skipped if the allocator is not jemalloc, but that would fail if the
allocator is a jemalloc that doesn't support defrag.

Additionally the older defrag tests are using an obsolete way to check
if the defragger is suuported (the error no longer contains "DISABLED").
this doesn't usually makes a difference since these tests are completely
skipped if the allocator is not jemalloc, but that would fail if the
allocator is a jemalloc that doesn't support defrag.
@oranagra oranagra requested a review from yossigo December 14, 2020 07:17
@oranagra oranagra merged commit 7d9b09a into redis:unstable Dec 14, 2020
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Mar 2, 2021
Additionally the older defrag tests are using an obsolete way to check
if the defragger is suuported (the error no longer contains "DISABLED").
this doesn't usually makes a difference since these tests are completely
skipped if the allocator is not jemalloc, but that would fail if the
allocator is a jemalloc that doesn't support defrag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants