]> khamidou — GitHub mirrors - arcanist.git/commit
Use PhutilAggregateException to aggregate unit test exceptions
authorepriestley <git@epriestley.com>
Mon, 22 Oct 2012 18:41:33 +0000 (11:41 -0700)
committerepriestley <git@epriestley.com>
Mon, 22 Oct 2012 18:41:33 +0000 (11:41 -0700)
commit538115bd0ef68381c37a3d1d208decdffde081cb
treeb4b42c96be350d5e2b7e860d328f2cf5ec992708
parent10653d7ff37834debfa62b6f4b372c7914328c01
Use PhutilAggregateException to aggregate unit test exceptions

Summary: Currently, a shutdown exception ("script exited with open transactions!") overwhelms the actual test failure exception, which is the one that needs to be fixed.

Test Plan: Ran a fixture test which opens a transaction and then throws. Got diagnostically useful output after this patch.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran
Differential Revision: https://secure.phabricator.com/D3780
src/unit/engine/phutil/ArcanistPhutilTestCase.php