Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Refactor and bugfix for resove_service #4427

Merged
merged 8 commits into from
Jan 22, 2019
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 21, 2019

This PR has several commits, each of which should make sense on its own.

This is useful outside endpoints.
use an attrs instead of a namedtuple for resolve_service
I don't know why this needs to be nested so deep.
@codecov-io
Copy link

Codecov Report

Merging #4427 into develop will increase coverage by 0.02%.
The diff coverage is 89.58%.

@@             Coverage Diff             @@
##           develop    #4427      +/-   ##
===========================================
+ Coverage    73.64%   73.67%   +0.02%     
===========================================
  Files          300      301       +1     
  Lines        29801    29812      +11     
  Branches      4896     4898       +2     
===========================================
+ Hits         21947    21963      +16     
+ Misses        6417     6411       -6     
- Partials      1437     1438       +1

Copy link
Contributor

@hawkowl hawkowl left a comment

Choose a reason for hiding this comment

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

Looks reasonable.

The coverage is a bit spotty, I would like some tests covering the yellow in srv_resolver if that's possible: https://codecov.io/gh/matrix-org/synapse/pull/4427/diff

@richvdh
Copy link
Member Author

richvdh commented Jan 22, 2019

The coverage is a bit spotty, I would like some tests covering the yellow in srv_resolver if that's possible: https://codecov.io/gh/matrix-org/synapse/pull/4427/diff

Fair. will add some more testing.

@richvdh richvdh self-assigned this Jan 22, 2019
@richvdh richvdh requested a review from hawkowl January 22, 2019 10:35
@richvdh richvdh merged commit 33a5528 into develop Jan 22, 2019
@richvdh richvdh deleted the rav/refactor_resolve_service branch January 22, 2019 11:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants