diff --git a/tests/src/com.hazelcast/hazelcast/5.2.1/src/test/java/com_hazelcast/hazelcast/HazelcastTest.java b/tests/src/com.hazelcast/hazelcast/5.2.1/src/test/java/com_hazelcast/hazelcast/HazelcastTest.java
deleted file mode 100755
index 90839abf..00000000
--- a/tests/src/com.hazelcast/hazelcast/5.2.1/src/test/java/com_hazelcast/hazelcast/HazelcastTest.java
+++ /dev/null
@@ -1,196 +0,0 @@
-/*
- * Copyright and related rights waived via CC0
- *
- * You should have received a copy of the CC0 legalcode along with this
- * work. If not, see .
- */
-package com_hazelcast.hazelcast;
-
-import com.hazelcast.cache.HazelcastCachingProvider;
-import com.hazelcast.cache.ICache;
-import com.hazelcast.client.HazelcastClient;
-import com.hazelcast.client.config.ClientConfig;
-import com.hazelcast.config.Config;
-import com.hazelcast.core.Hazelcast;
-import com.hazelcast.core.HazelcastInstance;
-import com.hazelcast.map.IMap;
-import com.hazelcast.multimap.MultiMap;
-import com.hazelcast.replicatedmap.ReplicatedMap;
-import com.hazelcast.topic.ITopic;
-import org.junit.jupiter.api.AfterAll;
-import org.junit.jupiter.api.BeforeAll;
-import org.junit.jupiter.api.Test;
-
-import javax.cache.Cache;
-import javax.cache.CacheManager;
-import javax.cache.Caching;
-import javax.cache.configuration.MutableConfiguration;
-import javax.cache.expiry.AccessedExpiryPolicy;
-import javax.cache.expiry.Duration;
-import java.util.Collection;
-import java.util.List;
-import java.util.Set;
-import java.util.concurrent.BlockingQueue;
-import java.util.concurrent.TimeUnit;
-import java.util.concurrent.locks.Lock;
-import java.util.stream.IntStream;
-
-import static com.hazelcast.query.Predicates.and;
-import static com.hazelcast.query.Predicates.between;
-import static com.hazelcast.query.Predicates.equal;
-import static com.hazelcast.query.Predicates.sql;
-import static org.assertj.core.api.Assertions.assertThat;
-
-class HazelcastTest {
- static HazelcastInstance hazelcastInstance;
-
- @BeforeAll
- static void before() {
- hazelcastInstance = Hazelcast.newHazelcastInstance(new Config());
- }
-
- @AfterAll
- static void after() {
- hazelcastInstance.shutdown();
- }
-
- @Test
- void testMap() {
- HazelcastInstance client = HazelcastClient.newHazelcastClient();
- IMap map = client.getMap("my-distributed-map");
- map.put("key", "value");
- map.get("key");
- map.putIfAbsent("someKey", "someValue");
- map.replace("key", "value", "newValue");
- assertThat(map.get("someKey")).isEqualTo("someValue");
- assertThat(map.get("key")).isEqualTo("newValue");
- client.shutdown();
- }
-
- @SuppressWarnings("unchecked")
- @Test
- void testJCache() {
- System.setProperty("hazelcast.jcache.provider.type", "client");
- CacheManager manager = Caching.getCachingProvider(HazelcastCachingProvider.class.getName()).getCacheManager();
- MutableConfiguration configuration = new MutableConfiguration<>();
- configuration.setExpiryPolicyFactory(AccessedExpiryPolicy.factoryOf(Duration.ONE_MINUTE));
- Cache myCache = manager.createCache("myCache", configuration);
- myCache.put("key", "value");
- assertThat(myCache.get("key")).isEqualTo("value");
- ICache cacheAsI = myCache.unwrap(ICache.class);
- cacheAsI.getAsync("key");
- cacheAsI.putAsync("key", "value");
- cacheAsI.put("key", "newValue", AccessedExpiryPolicy.factoryOf(Duration.TEN_MINUTES).create());
- assertThat(cacheAsI.size()).isEqualTo(1);
- manager.getCachingProvider().close();
- }
-
- @Test
- void testReplicatedMap() {
- HazelcastInstance client = HazelcastClient.newHazelcastClient();
- ReplicatedMap map = client.getReplicatedMap("my-replicated-map");
- assertThat(map.put("key", "value")).isNull();
- assertThat(map.get("key")).isEqualTo("value");
- client.shutdown();
- }
-
- @Test
- void testMultiMap() {
- HazelcastInstance client = HazelcastClient.newHazelcastClient();
- MultiMap multiMap = client.getMultiMap("my-distributed-multimap");
- multiMap.put("my-key", "value1");
- multiMap.put("my-key", "value2");
- multiMap.put("my-key", "value3");
- assertThat(multiMap.get("my-key").toString()).contains("value2", "value1", "value3");
- multiMap.remove("my-key", "value2");
- assertThat(multiMap.get("my-key").toString()).contains("value1", "value3");
- client.shutdown();
- }
-
- @SuppressWarnings("OverwrittenKey")
- @Test
- void testSet() {
- HazelcastInstance client = HazelcastClient.newHazelcastClient();
- Set set = client.getSet("my-distributed-set");
- set.add("item1");
- set.add("item1");
- set.add("item2");
- set.add("item2");
- set.add("item2");
- set.add("item3");
- assertThat(set).contains("item1", "item2", "item3");
- assertThat(set.size()).isEqualTo(3);
- client.shutdown();
- }
-
- @Test
- void testList() {
- HazelcastInstance client = HazelcastClient.newHazelcastClient();
- List