Uploaded image for project: 'HTrace'
  1. HTrace
  2. HTRACE-103

Reset unclosed spans after TestBadClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None

    Description

      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)
      

      Attachments

        1. HTRACE-103.001.patch
          2 kB
          Masatake Iwasaki
        2. HTRACE-103.002.patch
          1 kB
          Masatake Iwasaki

        Activity

          People

            iwasakims Masatake Iwasaki
            iwasakims Masatake Iwasaki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: