Fix: stop when a test environment fails to build