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 tag on failure test #52

Merged
merged 2 commits into from Dec 18, 2023
Merged

Fix tag on failure test #52

merged 2 commits into from Dec 18, 2023

Conversation

kaisecheng
Copy link
Contributor

@kaisecheng kaisecheng commented May 10, 2023

Field Reference can handle special characters in 8.3.0. This commit excludes the failed test from 8.3+

Related:
elastic/logstash#11941

Close #55

Field Reference can handle special characters in 8.3.0
@kaisecheng kaisecheng changed the title exclude Logstash 8.3+ from fail tests Fix tag on failure test May 10, 2023
@kaisecheng
Copy link
Contributor Author

@logstashmachine bump patch

if (Gem::Requirement.create('>= 7.0').satisfied_by?(logstash_version) ||

# Field Reference can handle special characters since 8.3.0
if ((Gem::Requirement.create('>= 7.0').satisfied_by?(logstash_version) && Gem::Requirement.create('< 8.3').satisfied_by?(logstash_version)) ||

Choose a reason for hiding this comment

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

Do we have or can we add test cases for 8.3+ LS versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we have existing test for tagging json fail for 8.3+

Copy link

@andsel andsel left a comment

Choose a reason for hiding this comment

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

LGTM

@kaisecheng kaisecheng merged commit 21bf247 into main Dec 18, 2023
3 checks passed
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.

Fail test on 8.x because un[sup]]ported is considered valid json key
5 participants