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

Test with 8.0-M04-pre #4069

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Test with 8.0-M04-pre #4069

wants to merge 10 commits into from

Conversation

ggivo
Copy link
Contributor

@ggivo ggivo commented Jan 21, 2025

No description provided.

@ggivo ggivo changed the title Test with 8.0-M03-pre Test with 8.0-M04-pre Jan 27, 2025
Output of ft.explain  has changed in Redis 8.0.
Existing Jedis client ftExplain() API returns the raw output  and does not perform any parsing/mapping, hence updating the test to verify only for received output when used with correct dialect & gets syntax error otherwise.
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace remaining assertTrues with proper assertThats.

Suggested change
import static org.junit.Assert.assertTrue;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have replaced the remaining ones in the concrete test.

.github/workflows/test-on-docker.yml Outdated Show resolved Hide resolved
Existing Jedis client ftExplain() API returns the raw output  and does not perform any parsing/mapping, hence updating the test to verify only for received output when used with correct dialect & gets syntax error otherwise.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants