Created by: kageiit
Currently, the BaseRunner
does not correctly close the underlying FileOutputStream
when writing test results out. This is because the current close()
call is only performed on BufferedOutputStream
which simply class flush()
on the underlying stream but never closes it. This leads to too many files open exception and the test run exiting prematurely when there are several test rules running on a machine at the same time. This change fixes that problem