247248249250251252253254255256257
} catch (IOException e) { // ok - as expected } try { fsdataset.finalizeBlock(b); assertTrue("Expected an IO exception", false); } catch (IOException e) { // ok - as expected }
255256257258259260261262263264265
248249250251252253254255256257258
} catch (IOException e) { // ok - as expected } try { fsdataset.finalizeBlock(0,b); assertTrue("Expected an IO exception", false); } catch (IOException e) { // ok - as expected }
237238239240241242243244245246247