-
Notifications
You must be signed in to change notification settings - Fork 352
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
Move testTracer struct in tracingtest package and reuse it #3322
Merged
+82
−105
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Roman Zavodskikh <[email protected]>
Signed-off-by: Roman Zavodskikh <[email protected]>
AlexanderYastrebov
requested changes
Nov 25, 2024
…shed spans Signed-off-by: Roman Zavodskikh <[email protected]>
RomanZavodskikh
force-pushed
the
refactorMockTracer
branch
from
November 26, 2024 10:04
98e895d
to
4738392
Compare
Signed-off-by: Roman Zavodskikh <[email protected]>
👍 |
AlexanderYastrebov
requested review from
AlexanderYastrebov
and removed request for
AlexanderYastrebov
November 26, 2024 14:21
AlexanderYastrebov
approved these changes
Nov 26, 2024
👍 |
MustafaSaber
reviewed
Dec 5, 2024
This was referenced Dec 5, 2024
MustafaSaber
added a commit
to zalando-incubator/kubernetes-on-aws
that referenced
this pull request
Dec 9, 2024
* zalando/skipper#3271 * zalando/skipper#3283 * zalando/skipper#3284 * zalando/skipper#3285 * zalando/skipper#3281 * zalando/skipper#3282 * zalando/skipper#3294 * zalando/skipper#3293 * zalando/skipper#3292 * zalando/skipper#3291 * zalando/skipper#3288 * zalando/skipper#3300 * zalando/skipper#3301 * zalando/skipper#3290 * zalando/skipper#3328 * zalando/skipper#3319 * zalando/skipper#3325 * zalando/skipper#3310 * zalando/skipper#3307 * zalando/skipper#3322 * zalando/skipper#3326 * zalando/skipper#3289 zalando/skipper@v0.21.220...v0.21.224 follow up on #8574 Signed-off-by: Mustafa Abdelrahman <[email protected]>
MustafaSaber
added a commit
to zalando-incubator/kubernetes-on-aws
that referenced
this pull request
Dec 9, 2024
* zalando/skipper#3271 * zalando/skipper#3283 * zalando/skipper#3284 * zalando/skipper#3285 * zalando/skipper#3281 * zalando/skipper#3282 * zalando/skipper#3294 * zalando/skipper#3293 * zalando/skipper#3292 * zalando/skipper#3291 * zalando/skipper#3288 * zalando/skipper#3300 * zalando/skipper#3301 * zalando/skipper#3290 * zalando/skipper#3328 * zalando/skipper#3319 * zalando/skipper#3325 * zalando/skipper#3310 * zalando/skipper#3307 * zalando/skipper#3322 * zalando/skipper#3326 * zalando/skipper#3289 zalando/skipper@v0.21.220...v0.21.224 follow up on #8574 Signed-off-by: Mustafa Abdelrahman <[email protected]>
MustafaSaber
added a commit
to zalando-incubator/kubernetes-on-aws
that referenced
this pull request
Dec 9, 2024
* zalando/skipper#3271 * zalando/skipper#3283 * zalando/skipper#3284 * zalando/skipper#3285 * zalando/skipper#3281 * zalando/skipper#3282 * zalando/skipper#3294 * zalando/skipper#3293 * zalando/skipper#3292 * zalando/skipper#3291 * zalando/skipper#3288 * zalando/skipper#3300 * zalando/skipper#3301 * zalando/skipper#3290 * zalando/skipper#3328 * zalando/skipper#3319 * zalando/skipper#3325 * zalando/skipper#3310 * zalando/skipper#3307 * zalando/skipper#3322 * zalando/skipper#3326 * zalando/skipper#3289 zalando/skipper@v0.21.220...v0.21.224 follow up on #8574 Signed-off-by: Mustafa Abdelrahman <[email protected]>
MustafaSaber
added a commit
to zalando-incubator/kubernetes-on-aws
that referenced
this pull request
Dec 9, 2024
* zalando/skipper#3271 * zalando/skipper#3283 * zalando/skipper#3284 * zalando/skipper#3285 * zalando/skipper#3281 * zalando/skipper#3282 * zalando/skipper#3294 * zalando/skipper#3293 * zalando/skipper#3292 * zalando/skipper#3291 * zalando/skipper#3288 * zalando/skipper#3300 * zalando/skipper#3301 * zalando/skipper#3290 * zalando/skipper#3328 * zalando/skipper#3319 * zalando/skipper#3325 * zalando/skipper#3310 * zalando/skipper#3307 * zalando/skipper#3322 * zalando/skipper#3326 * zalando/skipper#3289 zalando/skipper@v0.21.220...v0.21.224 follow up on #8574 Signed-off-by: Mustafa Abdelrahman <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 14, 2025
Deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Follow up on #684, see #684 (comment) Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 14, 2025
Deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Follow up on #684, see #684 (comment) Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 14, 2025
Deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Follow up on #684, see #684 (comment) Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 14, 2025
Follow up on #684 (#684 (comment)) and deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Fix MockTracer to return MockSpan that has proper Tracer() implementation. Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 14, 2025
Follow up on #684 (#684 (comment)) and deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Fix MockTracer to return MockSpan that has proper Tracer() implementation and panic on timeout waiting for finished spans. Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 14, 2025
Follow up on #684 (#684 (comment)) and deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Fix MockTracer: * return MockSpan that has proper Tracer() implementation * return MockSpan wrappers from FinishedSpans * panic on timeout waiting for finished spans Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
This implementation is not correct - it returns spans whose Tracer() method returns ot.MockTracer and not Skipper's MockTracer. I am looking whether we can fix that within #3375 |
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 14, 2025
Follow up on #684 (#684 (comment)) and deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Fix MockTracer: * return MockSpan that has proper Tracer() implementation * return MockSpan wrappers from FinishedSpans * panic on timeout waiting for finished spans Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 14, 2025
Follow up on #684 (#684 (comment)) and deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Fix MockTracer: * return MockSpan that has proper Tracer() implementation * return MockSpan wrappers from FinishedSpans * panic on timeout waiting for finished spans Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 15, 2025
Follow up on #684 (#684 (comment)) and deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Fix MockTracer: * return MockSpan that has proper Tracer() implementation * return MockSpan wrappers from FinishedSpans * panic on timeout waiting for finished spans Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
AlexanderYastrebov
added a commit
that referenced
this pull request
Jan 15, 2025
Follow up on #684 (#684 (comment)) and deprecate hand-rolled test tracer implementation in favour of MockTracer added by #3322 that wraps github.com/opentracing/opentracing-go/mocktracer and waits for finished spans. Fix MockTracer: * return MockSpan that has proper Tracer() implementation * return MockSpan wrappers from FinishedSpans * panic on timeout waiting for finished spans Closes #2084 Updates #2104 Signed-off-by: Alexander Yastrebov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull requests is split from #3318 to refactor change of testTracer to make it more reusable.