- changed status to resolved
inheritance tests failing on linux kernels
Issue #518
resolved
I'm running Kubuntu Dapper (kernel 2.6.15-28-386); Python 2.4; SA
0.3.6; libsqlite 3.2.8; pysqlite2 2.0.5
I'm also running a 5.0.22 MySQL server, in case that matters.
The tests give me (sporadically):
======================================================================
FAIL: testrelationonbaseclass_j1_data (__main__.RelationTest3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/orm/inheritance5.py", line 202, in
testrelationonbaseclass_j1_data
self.do_test("join1", True)
File "test/orm/inheritance5.py", line 265, in do_test
assert len(p.colleagues) == 1
AssertionError
======================================================================
FAIL: testrelationonbaseclass_j1_nodata (__main__.RelationTest3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/orm/inheritance5.py", line 198, in
testrelationonbaseclass_j1_nodata
self.do_test("join1", False)
File "test/orm/inheritance5.py", line 265, in do_test
assert len(p.colleagues) == 1
AssertionError
======================================================================
FAIL: testrelationonbaseclass_j2_data (__main__.RelationTest3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/orm/inheritance5.py", line 204, in
testrelationonbaseclass_j2_data
self.do_test("join2", True)
File "test/orm/inheritance5.py", line 265, in do_test
assert len(p.colleagues) == 1
AssertionError
======================================================================
FAIL: testrelationonbaseclass_j2_nodata (__main__.RelationTest3)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/orm/inheritance5.py", line 200, in
testrelationonbaseclass_j2_nodata
self.do_test("join2", False)
File "test/orm/inheritance5.py", line 265, in do_test
assert len(p.colleagues) == 1
AssertionError
Comments (1)
-
reporter - Log in to comment
the test itself was wrong, adding p2 to both "p" and "m" so it was not defined which parent would actually get the relationship. changeset:2459