Repository: ignite Updated Branches: refs/heads/ignite-1.4 6e19979b3 -> 3e762e25e
Quick fix to Hadoop IGFS tests NPE. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/adf5ef61 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/adf5ef61 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/adf5ef61 Branch: refs/heads/ignite-1.4 Commit: adf5ef6100b58beb6fb00d85123f34cb5d9e084a Parents: 2aa292c Author: vozerov-gridgain <voze...@gridgain.com> Authored: Tue Sep 15 16:23:10 2015 +0300 Committer: vozerov-gridgain <voze...@gridgain.com> Committed: Tue Sep 15 16:23:10 2015 +0300 ---------------------------------------------------------------------- .../ignite/internal/processors/igfs/IgfsAbstractSelfTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/adf5ef61/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java index 957363f..076c269 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java @@ -2686,6 +2686,7 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest { public static void clear(UniversalFileSystemAdapter uni) throws Exception { IgfsEx igfsEx = uni.getAdapter(IgfsEx.class); - clear(igfsEx); + if (igfsEx != null) + clear(igfsEx); } } \ No newline at end of file