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 system_queries test to actually test the problem #7613

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

Green-Chan
Copy link
Contributor

The test added in #7604 doesn't reach the HasRangeTableRef function and thus doesn't test what it should.

@JelteF JelteF requested a review from gurkanindibay June 4, 2024 09:32
@JelteF JelteF changed the base branch from release-12.1 to main June 4, 2024 09:33
@JelteF JelteF changed the base branch from main to release-12.1 June 4, 2024 09:34
@JelteF
Copy link
Contributor

JelteF commented Jun 4, 2024

Could you change the base for this PR to the main? We normally merge everything into main and then cherry-pick to the release branches, but we didn't follow that approach by accident for #7604

@Green-Chan Green-Chan force-pushed the fix-system_queries-test branch from db2cd82 to b53b2cd Compare June 5, 2024 09:17
@Green-Chan Green-Chan changed the base branch from release-12.1 to main June 5, 2024 09:18
@Green-Chan Green-Chan force-pushed the fix-system_queries-test branch from b53b2cd to 64384dd Compare June 17, 2024 14:39
Copy link
Contributor

@gurkanindibay gurkanindibay left a comment

Choose a reason for hiding this comment

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

Thanks @Green-Chan for the fix.

@JelteF JelteF enabled auto-merge (squash) June 27, 2024 14:08
auto-merge was automatically disabled July 16, 2024 06:57

Head branch was pushed to by a user without write access

@Green-Chan Green-Chan force-pushed the fix-system_queries-test branch from 0b4f9c2 to 5359d21 Compare July 16, 2024 06:57
@Green-Chan
Copy link
Contributor Author

I've rebased the branch to updated main.
Check if all GUCs are sorted alphabetically has failed, and I can't see how since shared_library_init.c isn't even changing in this PR.
Could someone please help me?

@Green-Chan Green-Chan force-pushed the fix-system_queries-test branch from 5359d21 to 1db28fa Compare July 16, 2024 17:31
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.47%. Comparing base (829665e) to head (e11ff75).
Report is 1 commits behind head on main.

❌ Your project status has failed because the head coverage (81.47%) is below the target coverage (87.50%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (829665e) and HEAD (e11ff75). Click for more details.

HEAD has 66 uploads less than BASE
Flag BASE (829665e) HEAD (e11ff75)
14_15_upgrade 1 0
16_regress_check-columnar-isolation 1 0
14_16_upgrade 1 0
16_regress_check-follower-cluster 1 0
15_regress_check-follower-cluster 1 0
14_regress_check-follower-cluster 1 0
15_regress_check-columnar-isolation 1 0
14_regress_check-columnar 1 0
15_regress_check-enterprise-isolation-logicalrep-3 1 0
15_regress_check-query-generator 1 0
14_regress_check-split 1 0
14_regress_check-query-generator 1 0
15_regress_check-split 1 0
16_regress_check-enterprise-failure 1 0
15_regress_check-enterprise-failure 1 0
14_regress_check-vanilla 1 0
16_regress_check-failure 1 0
16_regress_check-enterprise 1 0
15_regress_check-enterprise 1 0
14_regress_check-enterprise-isolation 1 0
15_regress_check-enterprise-isolation 1 0
16_regress_check-enterprise-isolation 1 0
15_regress_check-multi-mx 1 0
15_regress_check-enterprise-isolation-logicalrep-1 1 0
14_arbitrary_configs_3 1 0
16_arbitrary_configs_3 1 0
14_regress_check-failure 1 0
15_regress_check-failure 1 0
14_regress_check-multi-mx 1 0
14_regress_check-enterprise-isolation-logicalrep-1 1 0
16_regress_check-enterprise-isolation-logicalrep-1 1 0
16_cdc_installcheck 1 0
15_cdc_installcheck 1 0
15_arbitrary_configs_3 1 0
16_regress_check-operations 1 0
15_regress_check-operations 1 0
14_regress_check-operations 1 0
15_arbitrary_configs_5 1 0
16_arbitrary_configs_5 1 0
15_regress_check-isolation 1 0
16_regress_check-isolation 1 0
16_arbitrary_configs_2 1 0
14_regress_check-isolation 1 0
14_arbitrary_configs_2 1 0
16_regress_check-split 1 0
16_arbitrary_configs_4 1 0
16_arbitrary_configs_0 1 0
15_regress_check-vanilla 1 0
16_regress_check-vanilla 1 0
14_regress_check-enterprise 1 0
15_regress_check-multi 1 0
16_regress_check-multi 1 0
15_arbitrary_configs_4 1 0
16_regress_check-columnar 1 0
16_regress_check-enterprise-isolation-logicalrep-2 1 0
15_regress_check-enterprise-isolation-logicalrep-2 1 0
16_regress_check-enterprise-isolation-logicalrep-3 1 0
14_regress_check-enterprise-isolation-logicalrep-3 1 0
16_regress_check-query-generator 1 0
14_regress_check-enterprise-isolation-logicalrep-2 1 0
15_regress_check-columnar 1 0
14_regress_check-enterprise-failure 1 0
16_regress_check-multi-mx 1 0
16_arbitrary_configs_1 1 0
15_arbitrary_configs_1 1 0
14_arbitrary_configs_1 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7613      +/-   ##
==========================================
- Coverage   89.61%   81.47%   -8.15%     
==========================================
  Files         283      283              
  Lines       60518    60296     -222     
  Branches     7544     7486      -58     
==========================================
- Hits        54236    49124    -5112     
- Misses       4124     8414    +4290     
- Partials     2158     2758     +600     

@Green-Chan Green-Chan force-pushed the fix-system_queries-test branch from 1db28fa to bd5849f Compare July 18, 2024 14:22
@Green-Chan Green-Chan force-pushed the fix-system_queries-test branch from bd5849f to 49263cd Compare August 8, 2024 05:16
@Green-Chan
Copy link
Contributor Author

Finally all required tests have passed!
@JelteF could you please merge it?
I would also love some advice for the future how to deal with randomly failing required tests. I can't rerun them other than by pushing something new to the branch, but pushing disables auto-merge.

@Green-Chan Green-Chan force-pushed the fix-system_queries-test branch from 49263cd to 857c38d Compare November 2, 2024 08:26
@onurctirtir onurctirtir enabled auto-merge (squash) February 7, 2025 14:12
@onurctirtir onurctirtir merged commit 711aec8 into citusdata:main Feb 7, 2025
116 of 149 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants