It looks like a recent change broke the waitUntilDone flag. The line "layoutTestController.waitUntilDone();" is supposed to be conditional on waitUntilDone.