Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Conversation

@srijeet0406
Copy link
Contributor

This PR is not related to any issue. It increases the test coverage in the cdn folder.


Which Traffic Control components are affected by this PR?

  • Traffic Ops

What is the best way to verify this PR?

Make sure the tests pass.

If this is a bugfix, which Traffic Control versions contained the bug?

  • master

PR submission checklist

Copy link
Member

@zrhoffman zrhoffman left a comment

Choose a reason for hiding this comment

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

Just a small nit about license/import order

@ocket8888 ocket8888 added Traffic Ops related to Traffic Ops low impact affects only a small portion of a CDN, and cannot itself break one tests related to tests and/or testing infrastructure improvement The functionality exists but it could be improved in some way. labels Apr 24, 2023
Copy link
Contributor

@rimashah25 rimashah25 left a comment

Choose a reason for hiding this comment

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

As soon as the license comments are addressed, the PR would LGTM. Tested all new unit tests locally and all seems to be working in order.

@codecov
Copy link

codecov bot commented Apr 25, 2023

Codecov Report

Merging #7460 (8723c06) into master (5fc5d73) will decrease coverage by 31.86%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #7460       +/-   ##
=============================================
- Coverage     61.13%   29.28%   -31.86%     
  Complexity       98       98               
=============================================
  Files           303      782      +479     
  Lines         11581    81860    +70279     
  Branches        784      784               
=============================================
+ Hits           7080    23970    +16890     
- Misses         4154    55825    +51671     
- Partials        347     2065     +1718     
Flag Coverage Δ
golib_unit 48.40% <ø> (?)
grove_unit 4.60% <ø> (?)
t3c_unit 5.32% <ø> (?)
traffic_monitor_unit 21.28% <ø> (?)
traffic_ops_integration 69.42% <ø> (ø)
traffic_ops_unit 22.82% <ø> (?)
traffic_portal_v2 64.45% <ø> (+0.02%) ⬆️
traffic_stats_unit 10.14% <ø> (?)
unit_tests 26.24% <ø> (-38.19%) ⬇️
v3 57.79% <ø> (ø)
v4 79.18% <ø> (ø)
v5 78.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 481 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@srijeet0406 srijeet0406 force-pushed the cdn_folder_test_coverage branch from 72da1c5 to 8723c06 Compare April 25, 2023 03:41
Copy link
Member

@zrhoffman zrhoffman left a comment

Choose a reason for hiding this comment

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

Looks good! The failing tests are not related to this PR.

@zrhoffman zrhoffman merged commit ba24d5b into apache:master Apr 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

improvement The functionality exists but it could be improved in some way. low impact affects only a small portion of a CDN, and cannot itself break one tests related to tests and/or testing infrastructure Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants