Merge branch 'master' into ignite-11189-java11 # Conflicts: # modules/dev-utils/ignite-modules-test/build.gradle
diff --git a/modules/camel/src/test/java/org/apache/ignite/stream/camel/IgniteCamelStreamerTest.java b/modules/camel/src/test/java/org/apache/ignite/stream/camel/IgniteCamelStreamerTest.java index 21196a6..f505115 100644 --- a/modules/camel/src/test/java/org/apache/ignite/stream/camel/IgniteCamelStreamerTest.java +++ b/modules/camel/src/test/java/org/apache/ignite/stream/camel/IgniteCamelStreamerTest.java
@@ -389,17 +389,15 @@ // Listen to cache PUT events and expect as many as messages as test data items final CountDownLatch latch = new CountDownLatch(expect); - @SuppressWarnings("serial") IgniteBiPredicate<UUID, CacheEvent> callback = - new IgniteBiPredicate<UUID, CacheEvent>() { - @Override public boolean apply(UUID uuid, CacheEvent evt) { + @SuppressWarnings("serial") IgniteBiPredicate<UUID, CacheEvent> cb = + (UUID uuid, CacheEvent evt) -> { latch.countDown(); return true; - } - }; + }; remoteLsnr = ignite.events(ignite.cluster().forCacheNodes(DEFAULT_CACHE_NAME)) - .remoteListen(callback, null, EVT_CACHE_OBJECT_PUT); + .remoteListen(cb, null, EVT_CACHE_OBJECT_PUT); return latch; }
diff --git a/modules/dev-utils/ignite-modules-test/src/main/java/module-info.java b/modules/dev-utils/ignite-modules-test/src/main/java/module-info.java new file mode 100644 index 0000000..42d32bc --- /dev/null +++ b/modules/dev-utils/ignite-modules-test/src/main/java/module-info.java
@@ -0,0 +1,19 @@ +/* + * 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. + */ + +module ignite_modules_test { +} \ No newline at end of file
diff --git a/modules/dev-utils/ignite-modules-test/src/test/java/org/apache/ignite/modulestest/ModulesLaunchTest.java b/modules/dev-utils/ignite-modules-test/src/test/java/org/apache/ignite/modulestest/ModulesLaunchTest.java new file mode 100644 index 0000000..c13a1c1 --- /dev/null +++ b/modules/dev-utils/ignite-modules-test/src/test/java/org/apache/ignite/modulestest/ModulesLaunchTest.java
@@ -0,0 +1,37 @@ +/* + * 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. + */ + +package org.apache.ignite.modulestest; + +import org.apache.ignite.Ignite; +import org.apache.ignite.Ignition; +import org.junit.Test; + +/** + * + */ +public class ModulesLaunchTest { + /** + * Tests ignite startup without any features used. + */ + @Test + public void testSimpleLaunch() { + Ignite ignite = Ignition.start(); + + ignite.close(); + } +}