Skip to content

Fix querybuf test failure#9091

Merged
oranagra merged 1 commit intoredis:unstablefrom
sundb:fix-querybuf-test
Jun 16, 2021
Merged

Fix querybuf test failure#9091
oranagra merged 1 commit intoredis:unstablefrom
sundb:fix-querybuf-test

Conversation

@sundb
Copy link
Collaborator

@sundb sundb commented Jun 16, 2021

Fix test failure which introduced by #9003.
The following case will occur when querybuf expansion will allocate memory equal to (16*1024)k.

  1. make use CFLAGS=-DNO_MALLOC_USABLE_SIZE.
  2. malloc will not allocate more under alpine.

@oranagra oranagra merged commit b586d5b into redis:unstable Jun 16, 2021
@sundb sundb deleted the fix-querybuf-test branch June 30, 2021 02:00
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Sep 8, 2021
Fix test failure which introduced by redis#9003.
The following case will occur when querybuf expansion will allocate memory equal to (16*1024)k.
1) make use ```CFLAGS=-DNO_MALLOC_USABLE_SIZE```.
2) ```malloc``` will not allocate more under ```alpine```.
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