[
https://issues.apache.org/jira/browse/HTRACE-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Masatake Iwasaki updated HTRACE-103:
------------------------------------
Summary: Reset unclosed spans after TestBadClient (was: testHtrace and
testParamterizedSampler fails)
> Reset unclosed spans after TestBadClient
> ----------------------------------------
>
> Key: HTRACE-103
> URL: https://issues.apache.org/jira/browse/HTRACE-103
> Project: HTrace
> Issue Type: Bug
> Reporter: Masatake Iwasaki
> Assignee: Masatake Iwasaki
> Attachments: HTRACE-103.001.patch, HTRACE-103.002.patch
>
>
> {noformat}
> testHtrace(org.apache.htrace.TestHTrace) Time elapsed: 6.085 sec <<<
> FAILURE!
> java.lang.AssertionError: Trace tree must have roots
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.apache.htrace.TestHTrace.testHtrace(TestHTrace.java:81)
> testParamterizedSampler(org.apache.htrace.TestSampler) Time elapsed: 0.001
> sec <<< FAILURE!
> java.lang.AssertionError: expected null, but
> was:<{"i":"b26e533db550abdd","s":"91d90044ecab5eb8","b":1423065328326,"e":0,"d":"test","r":"jar","p":["73e962f3b7140c54"]}>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotNull(Assert.java:664)
> at org.junit.Assert.assertNull(Assert.java:646)
> at org.junit.Assert.assertNull(Assert.java:656)
> at
> org.apache.htrace.TestSampler.testParamterizedSampler(TestSampler.java:60)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)