Repository: incubator-ignite Updated Branches: refs/heads/ignite-1108 e7d9900a0 -> 6792963fc
IGNITE-1108 Fixed rat. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/6792963f Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/6792963f Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/6792963f Branch: refs/heads/ignite-1108 Commit: 6792963fc1438fdb77e5bb98146a2b792d925108 Parents: e7d9900 Author: nikolay_tikhonov <[email protected]> Authored: Tue Jul 14 10:47:57 2015 +0300 Committer: nikolay_tikhonov <[email protected]> Committed: Tue Jul 14 10:47:57 2015 +0300 ---------------------------------------------------------------------- .../org.apache.ignite.plugin.PluginProvider | 17 +++++++++++++++++ .../internal/IgnitePluginLifecycleSelfTest.java | 9 ++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6792963f/modules/core/src/test/java/META-INF/services/org.apache.ignite.plugin.PluginProvider ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/META-INF/services/org.apache.ignite.plugin.PluginProvider b/modules/core/src/test/java/META-INF/services/org.apache.ignite.plugin.PluginProvider index ed68caf..4a42b6d 100644 --- a/modules/core/src/test/java/META-INF/services/org.apache.ignite.plugin.PluginProvider +++ b/modules/core/src/test/java/META-INF/services/org.apache.ignite.plugin.PluginProvider @@ -1 +1,18 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + org.apache.ignite.internal.IgnitePluginLifecycleSelfTest$TestPluginProvider \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6792963f/modules/core/src/test/java/org/apache/ignite/internal/IgnitePluginLifecycleSelfTest.java ---------------------------------------------------------------------- diff --git a/modules/core/src/test/java/org/apache/ignite/internal/IgnitePluginLifecycleSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/IgnitePluginLifecycleSelfTest.java index 9085630..0282f58 100644 --- a/modules/core/src/test/java/org/apache/ignite/internal/IgnitePluginLifecycleSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/internal/IgnitePluginLifecycleSelfTest.java @@ -52,9 +52,12 @@ public class IgnitePluginLifecycleSelfTest extends GridCommonAbstractTest { startGrid("testGrid"); } finally { - enableAssert = false; - - stopGrid("testGrid", true); + try { + stopGrid("testGrid", true); + } + finally { + enableAssert = false; + } } assertTrue(TestPluginProvider.bfStart && TestPluginProvider.start && TestPluginProvider.afStart
