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

Add the Flaky Check #4883

Merged
merged 1 commit into from Oct 31, 2022
Merged

Add the Flaky Check #4883

merged 1 commit into from Oct 31, 2022

Conversation

akuzm
Copy link
Member

@akuzm akuzm commented Oct 26, 2022

It runs the changed tests many times to find flakiness.

@codecov
Copy link

codecov bot commented Oct 26, 2022

Codecov Report

Merging #4883 (dedd423) into main (e08e0a5) will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4883      +/-   ##
==========================================
- Coverage   89.48%   89.44%   -0.05%     
==========================================
  Files         225      225              
  Lines       50288    50287       -1     
==========================================
- Hits        45001    44978      -23     
- Misses       5287     5309      +22     
Impacted Files Coverage Δ
src/bgw/timer.c 75.00% <0.00%> (-5.00%) ⬇️
src/loader/bgw_message_queue.c 86.36% <0.00%> (-2.28%) ⬇️
src/loader/bgw_launcher.c 89.51% <0.00%> (-2.27%) ⬇️
src/bgw/scheduler.c 83.63% <0.00%> (-1.80%) ⬇️
tsl/src/reorder.c 85.87% <0.00%> (-0.23%) ⬇️
tsl/src/nodes/data_node_dispatch.c 93.03% <0.00%> (-0.22%) ⬇️
tsl/src/bgw_policy/job.c 88.31% <0.00%> (-0.05%) ⬇️
src/bgw/job_stat.c 92.08% <0.00%> (+0.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e08e0a5...dedd423. Read the comment docs.

@akuzm akuzm marked this pull request as ready for review October 27, 2022 08:44
"installcheck_args": "IGNORES='bgw_db_scheduler bgw_db_scheduler_fixed bgw_launcher pg_dump remote_connection compressed_collation'",
"llvm_config": "/usr/local/opt/llvm/bin/llvm-config",
"os": "macos-11",
"pg": PG12_LATEST,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we still use PG12 here?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know... probably should remove support when we start supporting PG 15.

Copy link
Contributor

Choose a reason for hiding this comment

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

The plan is remove it when we have full PG15 support!

Copy link
Contributor

@nikkhils nikkhils left a comment

Choose a reason for hiding this comment

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

LGTM overall.

@@ -31,3 +31,5 @@ SET timescaledb.enable_optimizations TO true;
\o

:DIFF_CMD


Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

Leftover?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, I used them to test that the check works.

It runs new or changed tests multiple times to find flakiness.
@akuzm akuzm enabled auto-merge (rebase) October 31, 2022 14:24
@akuzm akuzm merged commit d51fefb into timescale:main Oct 31, 2022
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.

None yet

3 participants