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

Clean up MockTraceAgent, add event-based API #501

Merged
merged 4 commits into from
Nov 18, 2019

Conversation

lucaspimentel
Copy link
Member

@lucaspimentel lucaspimentel commented Aug 30, 2019

Changes proposed in this pull request:

  • refactor MockTracerAgent.ToSpans() to be less magical dynamic and be more static
  • add missing properties to the mock Span (ParentId, Error, and the Metrics dictionary)
  • add MockTracerAgent.RequestDeserialized event as a "push" alternative to WaitForSpans()

@lucaspimentel lucaspimentel added the status:work-in-progress Actively worked on. If this is a PR, no review needed yet. WIP. label Aug 30, 2019
@lucaspimentel lucaspimentel self-assigned this Aug 30, 2019
@lucaspimentel lucaspimentel changed the base branch from master to lpimentel/dictionary-extensions August 30, 2019 20:32
@lucaspimentel lucaspimentel added this to the 1.7.1 milestone Aug 30, 2019
@lucaspimentel lucaspimentel added the status:do-not-merge Work is done. Can review, but do not merge yet. label Aug 30, 2019
@lucaspimentel lucaspimentel changed the title clean up MockTraceAgent [WIP] clean up MockTraceAgent Aug 30, 2019
@lucaspimentel lucaspimentel force-pushed the lpimentel/dictionary-extensions branch from 4453b14 to 196015e Compare August 30, 2019 20:59
@lucaspimentel lucaspimentel force-pushed the lpimentel/refactor-mock-trace-agent branch 2 times, most recently from 8d41198 to 43dc66d Compare August 30, 2019 21:21
@lucaspimentel lucaspimentel force-pushed the lpimentel/refactor-mock-trace-agent branch from 43dc66d to a52ea35 Compare September 3, 2019 19:53
@lucaspimentel lucaspimentel added area:tests unit tests, integration tests type:refactor and removed status:work-in-progress Actively worked on. If this is a PR, no review needed yet. WIP. labels Sep 10, 2019
@lucaspimentel lucaspimentel changed the title [WIP] clean up MockTraceAgent clean up MockTraceAgent, add event-based API Sep 10, 2019
@lucaspimentel lucaspimentel force-pushed the lpimentel/refactor-mock-trace-agent branch from a52ea35 to 516fd06 Compare September 11, 2019 16:53
@lucaspimentel lucaspimentel changed the base branch from lpimentel/dictionary-extensions to master September 11, 2019 16:56
@lucaspimentel lucaspimentel added the status:work-in-progress Actively worked on. If this is a PR, no review needed yet. WIP. label Sep 11, 2019
@lucaspimentel lucaspimentel changed the title clean up MockTraceAgent, add event-based API [WIP] Clean up MockTraceAgent, add event-based API Sep 11, 2019
@lucaspimentel lucaspimentel force-pushed the lpimentel/refactor-mock-trace-agent branch from 516fd06 to 5ed8ac2 Compare September 11, 2019 18:25
@lucaspimentel lucaspimentel removed this from the 1.7.1 milestone Oct 1, 2019
@lucaspimentel lucaspimentel force-pushed the lpimentel/refactor-mock-trace-agent branch 2 times, most recently from c2ace3e to 543bf9b Compare October 4, 2019 15:53
@lucaspimentel lucaspimentel force-pushed the lpimentel/refactor-mock-trace-agent branch from 543bf9b to d7d7b83 Compare November 18, 2019 19:56
@lucaspimentel lucaspimentel removed status:do-not-merge Work is done. Can review, but do not merge yet. status:work-in-progress Actively worked on. If this is a PR, no review needed yet. WIP. labels Nov 18, 2019
@lucaspimentel lucaspimentel marked this pull request as ready for review November 18, 2019 19:56
@lucaspimentel lucaspimentel requested a review from a team as a code owner November 18, 2019 19:56
@lucaspimentel lucaspimentel added this to the 1.9.2 milestone Nov 18, 2019
@lucaspimentel lucaspimentel mentioned this pull request Nov 18, 2019
3 tasks
@lucaspimentel lucaspimentel changed the title [WIP] Clean up MockTraceAgent, add event-based API Clean up MockTraceAgent, add event-based API Nov 18, 2019
@lucaspimentel lucaspimentel merged commit 8caa84d into master Nov 18, 2019
@lucaspimentel lucaspimentel deleted the lpimentel/refactor-mock-trace-agent branch November 18, 2019 23:42
@lucaspimentel lucaspimentel modified the milestones: 1.9.2, 1.10.0 Nov 21, 2019
MikeGoldsmith pushed a commit to lightstep/ls-trace-dotnet that referenced this pull request Mar 20, 2020
- refactor MockTracerAgent.ToSpans() to stop using "dynamic" and be more static
- add missing properties to the mock Span (ParentId, Error, and the Metrics dictionary)
- add MockTracerAgent.RequestDeserialized event as a "push" alternative to WaitForSpans()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:tests unit tests, integration tests type:refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants