oberstet/Autobahn — Issue #2: test suite exception generating reports with timeouts
Author: zaphoyd
Created: 2011-10-09 00:35:09+00:00
State: open

On cases where the test suite reaches it's timeout on client tests (ex: test 1.1.6) it writes a KLE type message to the wire log. The report generator can't handle this and throws an exception.

File "/Library/Python/2.7/site-packages/autobahn-0.4.3-py2.7.egg/autobahn/fuzzing.py", line 1002, in createAgentCaseReport
raise Exception("logic error (unrecognized wire log row type %s - row %s)" % (t[0], str(t)))
exceptions.Exception: logic error (unrecognized wire log row type K - row KLE)

I believe the offending line is here:

https://github.com/oberstet/Autobahn/blob/master/lib/python/autobahn/fuzzing.py#L203

self.wirelog.append(("KLE"))

should be

self.wirelog.append(("KLE", )) ?