This is an automated email from the ASF dual-hosted git repository.
timoninmaxim pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new dccfb55f91b IGNITE-23521 Fix test GridCacheTtlManagerLoadTest with
pds=true (#11617)
dccfb55f91b is described below
commit dccfb55f91b148748fa4e57cdc5c7b69f8ba6b71
Author: Popov Aleksandr <[email protected]>
AuthorDate: Thu Oct 24 18:16:39 2024 +0300
IGNITE-23521 Fix test GridCacheTtlManagerLoadTest with pds=true (#11617)
---
.../ignite/internal/processors/cache/GridCacheTtlManagerLoadTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManagerLoadTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManagerLoadTest.java
index 3a6a693b93b..51a1473e70b 100644
---
a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManagerLoadTest.java
+++
b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManagerLoadTest.java
@@ -22,6 +22,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
import javax.cache.expiry.Duration;
import javax.cache.expiry.TouchedExpiryPolicy;
import org.apache.ignite.IgniteCache;
+import org.apache.ignite.cluster.ClusterState;
import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.internal.IgniteKernal;
import org.apache.ignite.internal.util.typedef.internal.U;
@@ -43,6 +44,9 @@ public class GridCacheTtlManagerLoadTest extends
GridCacheTtlManagerSelfTest {
final IgniteKernal g = (IgniteKernal)startGrid(0);
+ if (pds)
+ g.cluster().state(ClusterState.ACTIVE);
+
try {
final AtomicBoolean stop = new AtomicBoolean();