[
https://issues.apache.org/jira/browse/HTRACE-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15281587#comment-15281587
]
Nisala Mendis commented on HTRACE-363:
--------------------------------------
I have added a test case for this and sent a PR on [1]
[1] https://github.com/apache/incubator-htrace/pull/9
Regards
Nisala
> Add tests for newScope with parent id
> -------------------------------------
>
> Key: HTRACE-363
> URL: https://issues.apache.org/jira/browse/HTRACE-363
> Project: HTrace
> Issue Type: Test
> Components: core
> Reporter: Mike Drob
>
> We should add some tests to verify that when there is a currently active
> scope and `newScope` is called with a valid parent id that both are included
> in the child span. The current code does this correctly, I think, but we
> should have tests to prevent accidental regressions in the future.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)