You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
Ubuntu 20.04
RocketMQ version
develop
JDK Version
No response
Describe the Bug
java.lang.reflect.InvocationTargetException
at org.apache.rocketmq.common.UtilAllTest.testCleanBuffer(UtilAllTest.java:218)
Caused by: java.lang.IllegalArgumentException: buffer is non-direct
at org.apache.rocketmq.common.UtilAllTest.testCleanBuffer(UtilAllTest.java:218)
Steps to Reproduce
By running
mvn test
What Did You Expect to See?
Test should pass
What Did You See Instead?
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project rocketmq-common: There are test failures.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
yp969803
added a commit
to yp969803/rocketmq
that referenced
this issue
Nov 28, 2023
#7593)
* [ISSUE #7592] testCleanBuffer unit test modifies, changed non-direct to direct buffer allocation
* fix: consolidate UtilAll#cleanBuffer by checking if the given buffer is direct or not
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
---------
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
Ubuntu 20.04
RocketMQ version
develop
JDK Version
No response
Describe the Bug
Steps to Reproduce
By running
What Did You Expect to See?
Test should pass
What Did You See Instead?
Additional Context
No response
The text was updated successfully, but these errors were encountered: