Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] - JedisException when test ends #629

Merged
merged 3 commits into from
Dec 11, 2023
Merged

Conversation

v-barros
Copy link
Contributor

@v-barros v-barros commented Dec 8, 2023

Fixing the Exception: redis.clients.jedis.exceptions.JedisException: Could not return the broken resource to the pool
Which is triggered when jmeter calls testEnded() method.
Evidence below:
image

I added a log to show the total number of idle connections before calling pool.destroy() at testEnded(String host) and noticed that the number of idle connections was equal to the number of exceptions. As we can see here:
image

Then I forced JMeter to consume all the connections before calling pool.destroy().
I know the problem is in Jedis itself, as it was already addressed in redis/jedis#3353. The other possible solution would be updating the Jedis version, but I don't know if that would lead to any compatibility issue.

@undera undera merged commit 836e560 into undera:master Dec 11, 2023
@joseph-roy
Copy link

joseph-roy commented Feb 7, 2024

This fix is not with the 0.6 version (built much earlier than this fix) of the plugin. Can you share the latest artefact location?

@undera
Copy link
Owner

undera commented Feb 7, 2024

This fix is not with the 0.6 version (built much earlier than this fix) of the plugin. Can you share the latest artefact location?

I have just released the new version.

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.

3 participants