Skip to content

RUM-1520 Add all Logs Feature integration tests#1769

Merged
xgouchet merged 1 commit into
developfrom
xgouchet/RUM-1520/single-fit-logs
Dec 18, 2023
Merged

RUM-1520 Add all Logs Feature integration tests#1769
xgouchet merged 1 commit into
developfrom
xgouchet/RUM-1520/single-fit-logs

Conversation

@xgouchet

Copy link
Copy Markdown
Contributor

What does this PR do?

Add integration tests covering all the Logs Feature apis

Motivation

Reliability, reliability, reliability

@xgouchet
xgouchet requested review from a team as code owners December 15, 2023 15:23
@xgouchet
xgouchet force-pushed the xgouchet/RUM-1520/single-fit-logs branch from 105c9ec to 8da8d33 Compare December 15, 2023 15:31
@codecov-commenter

codecov-commenter commented Dec 15, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1769 (e33ff12) into develop (2270a11) will increase coverage by 0.04%.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1769      +/-   ##
===========================================
+ Coverage    83.40%   83.44%   +0.04%     
===========================================
  Files          469      469              
  Lines        16408    16408              
  Branches      2449     2449              
===========================================
+ Hits         13685    13691       +6     
+ Misses        2052     2046       -6     
  Partials       671      671              

see 18 files with indirect coverage changes

@xgouchet
xgouchet force-pushed the xgouchet/RUM-1520/single-fit-logs branch from 8da8d33 to e33ff12 Compare December 15, 2023 17:04

override fun registerFeature(feature: Feature) {
// Stop previous registered
featureScopes[feature.name]?.unwrap<Feature>()?.onStop()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

shouldn't we just stop core instead after each test? and stop the features in the stop method of the code.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This part is only required because in one of the tests I override the previously started feature: in the @BeforeEach set up, we register a Logs feature, but in some tests I need to register a feature with a different configuration.

@xgouchet
xgouchet merged commit d29c752 into develop Dec 18, 2023
@xgouchet
xgouchet deleted the xgouchet/RUM-1520/single-fit-logs branch December 18, 2023 10:59
@xgouchet xgouchet added this to the 2.4.0 milestone Feb 19, 2024
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.

3 participants