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

[DB-14898] Adding validations for AssesmentIssues field of assessment report struct/json in the tests #2275

Merged
merged 5 commits into from
Feb 3, 2025

Conversation

sanyamsinghal
Copy link
Collaborator

Describe the changes in this pull request

https://yugabyte.atlassian.net/browse/DB-14898

Describe if there are any user-facing changes

NA

How was this pull request tested?

Updated all tests to include the new field and validate its value.
So passing of all PG and oracle tests can ensure this.

Does your PR have changes that can cause upgrade issues?

Component Breaking changes?
MetaDB Yes/No
Name registry json Yes/No
Data File Descriptor Json Yes/No
Export Snapshot Status Json Yes/No
Import Data State Yes/No
Export Status Json Yes/No
Data .sql files of tables Yes/No
Export and import data queue Yes/No
Schema Dump Yes/No
AssessmentDB Yes/No
Sizing DB Yes/No
Migration Assessment Report Json Yes/No
Callhome Json Yes/No
YugabyteD Tables Yes/No
TargetDB Metadata Tables Yes/No

@@ -893,7 +893,6 @@ normalize_json() {
.OptimalInsertConnectionsPerNode? = "IGNORED" |
.RowCount? = "IGNORED" |
.FeatureDescription? = "IGNORED" | # Ignore FeatureDescription instead of fixing it in all tests since it will be removed soon
.AssessmentIssues? = "IGNORED" | # Ignore AssessmentIssues until all tests are updated
Copy link
Contributor

Choose a reason for hiding this comment

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

PR title says cleanup of report struct but I don't see any code changes. Is that not included in this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated PR desc and jira ticket also

@sanyamsinghal sanyamsinghal changed the title [DB-14898] Cleanup of Assessment Report struct and modify test to check the Assessment Issues [DB-14898] Adding validations for AssesmentIssues field of assessment report struct/json in the tests Jan 30, 2025
Copy link
Contributor

Choose a reason for hiding this comment

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

There are two more schemas mgi and rna which are not in GH but in jenkins, I believe the expected files of those need to be updated as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh ok is it under pg complex schemas? Rest of the PG tests in jenkins i ran and passed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@sanyamsinghal
Copy link
Collaborator Author

Copy link
Contributor

@priyanshi-yb priyanshi-yb left a comment

Choose a reason for hiding this comment

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

LGTM

@sanyamsinghal sanyamsinghal merged commit 9a30ec6 into main Feb 3, 2025
67 checks passed
@sanyamsinghal sanyamsinghal deleted the sanyam/json-reports branch February 3, 2025 20:10
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