[Buildbot-devel] Can someone help me figure out how to fix a unit test bug?

Vitali Lovich vlovich at gmail.com
Fri Jun 12 07:30:27 UTC 2015


The code in test_process_build.py was re-written in master but it’s unhappy when the FakeBuildStatus render is called in eight.
It returns a mock object instead of rendering & I am struggling trying to figure out how to get it to do the right thing.

If you want to try this out, checkout 11cc00dd4d2154ce7d5d1e4a6df6f859d3ffe25f
& run: (cd master; PYTHONPATH=. trial buildbot.test.unit.test_process_build.TestBuild.testStopBuildWaitingForStepLocks)
from the top-level.

I would greatly appreciate any help, particularly since locks are currently broken in tip-of-tree in eight.

-Vitali



More information about the devel mailing list