[biabduction] Comment out resource leak test that is currently being flaky in the CI

Reviewed By: ngorogiannis

Differential Revision: D23373023

fbshipit-source-id: 698405d34
master
Dulma Churchill 4 years ago committed by Facebook GitHub Bot
parent 29fd9e13d1
commit 6e67a6a569

@ -33,19 +33,20 @@ public class ReaderLeaks {
} catch (IOException e) {
}
}
public void readerClosedOk() throws IOException {
Reader r = null;
try {
r = new FileReader("testing.txt");
boolean ready = r.ready();
r.close();
} catch (IOException e) {
} finally {
if (r != null) r.close();
}
}
/* This test seems to be flaky in the CI at the moment.
We guess it's because of timeouts in the analysis.
public void readerClosedOk() throws IOException {
Reader r = null;
try {
r = new FileReader("testing.txt");
boolean ready = r.ready();
r.close();
} catch (IOException e) {
} finally {
if (r != null) r.close();
}
}
*/
// BufferedReader tests
public void bufferedReaderNotClosedAfterRead() {

Loading…
Cancel
Save