Skip to content

Fixes json extraction in FateSummaryIT#5002

Merged
keith-turner merged 2 commits intoapache:2.1from
keith-turner:fix-fate-summary-it
Oct 18, 2024
Merged

Fixes json extraction in FateSummaryIT#5002
keith-turner merged 2 commits intoapache:2.1from
keith-turner:fix-fate-summary-it

Conversation

@keith-turner
Copy link
Contributor

FateSummaryIT ran an external command that would output log messages and json. The test wanted to extract only the json from the command output. The extraction was broken by a recent change to log messages that included a curly brace. Modified the extraction to tolerate this.

FateSummaryIT ran an external command that would output log messages and
json.  The test wanted to extract only the json from the command output.
The extraction was broken by a recent change to log messages that
included a curly brace.  Modified the extraction to tolerate this.
@keith-turner keith-turner added this to the 2.1.4 milestone Oct 18, 2024
Copy link
Member

@kevinrr888 kevinrr888 left a comment

Choose a reason for hiding this comment

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

This fix looks good. When this is merged forward into main, the same changes will have to be made to FateOpsCommandsIT which replaced FateSummaryIT.

@keith-turner keith-turner merged commit e206ff9 into apache:2.1 Oct 18, 2024
@keith-turner keith-turner deleted the fix-fate-summary-it branch October 18, 2024 18:09
keith-turner added a commit that referenced this pull request Oct 18, 2024
FateOpsCommandsIT ran an external command that would output log messages
and json.  The test wanted to extract only the json from the command
output.  The extraction was broken by a recent change to log messages
that included a curly brace.  Modified the extraction to tolerate this.

These are the same fixes made in #5002, just in a different class.
@keith-turner
Copy link
Contributor Author

This fix looks good. When this is merged forward into main, the same changes will have to be made to FateOpsCommandsIT which replaced FateSummaryIT.

@kevinrr888 that tip was really helpful in knowing where to fix things in 4.0. Instead of making a bunch of changes in a merge commit, I made a follow on commit in main after the merge commit to fix the problem there. Did that in af8a11c

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