HADOOP-13125 FS Contract tests don't report FS initialization errors well. (stevel)
This commit is contained in:
parent
eb4182f8f5
commit
0ff3ec1f67
|
@ -73,7 +73,8 @@ public abstract class AbstractBondedFSContract extends AbstractFSContract {
|
||||||
} catch (URISyntaxException e) {
|
} catch (URISyntaxException e) {
|
||||||
throw new IOException("Invalid URI " + fsName);
|
throw new IOException("Invalid URI " + fsName);
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
throw new IOException("Invalid URI " + fsName, e);
|
throw new IOException("Unable to initialize filesystem " + fsName
|
||||||
|
+ ": " + e, e);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
LOG.info("skipping tests as FS name is not defined in "
|
LOG.info("skipping tests as FS name is not defined in "
|
||||||
|
|
Loading…
Reference in New Issue