This is an automated email from the ASF dual-hosted git repository.

namelchev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-extensions.git


The following commit(s) were added to refs/heads/master by this push:
     new 01ff7fa0 IGNITE-28428 Fixed flaky 
PerformanceStatisticsPrinterTest#testSystemViewOperationFilter (#339)
01ff7fa0 is described below

commit 01ff7fa0baafe71c7fadf5a559e868f83d605219
Author: Aleksandr Chesnokov <[email protected]>
AuthorDate: Mon Apr 13 14:59:01 2026 +0300

    IGNITE-28428 Fixed flaky 
PerformanceStatisticsPrinterTest#testSystemViewOperationFilter (#339)
---
 .../performancestatistics/PerformanceStatisticsPrinterTest.java      | 5 +++++
 .../performancestatistics/PerformanceStatisticsReportSelfTest.java   | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/modules/performance-statistics-ext/src/test/java/org/apache/ignite/internal/performancestatistics/PerformanceStatisticsPrinterTest.java
 
b/modules/performance-statistics-ext/src/test/java/org/apache/ignite/internal/performancestatistics/PerformanceStatisticsPrinterTest.java
index 28c29395..b4e320d9 100644
--- 
a/modules/performance-statistics-ext/src/test/java/org/apache/ignite/internal/performancestatistics/PerformanceStatisticsPrinterTest.java
+++ 
b/modules/performance-statistics-ext/src/test/java/org/apache/ignite/internal/performancestatistics/PerformanceStatisticsPrinterTest.java
@@ -54,6 +54,7 @@ import org.junit.Before;
 import org.junit.Test;
 
 import static java.util.stream.Collectors.joining;
+import static 
org.apache.ignite.internal.processors.performancestatistics.AbstractPerformanceStatisticsTest.waitForStatisticsEnabled;
 import static 
org.apache.ignite.internal.processors.performancestatistics.FilePerformanceStatisticsWriter.PERF_STAT_DIR;
 import static 
org.apache.ignite.internal.processors.performancestatistics.OperationType.CACHE_GET;
 import static 
org.apache.ignite.internal.processors.performancestatistics.OperationType.CACHE_PUT;
@@ -154,6 +155,8 @@ public class PerformanceStatisticsPrinterTest {
 
             ign.context().performanceStatistics().startCollectStatistics();
 
+            waitForStatisticsEnabled(true);
+
             myCache.put("key", 1);
 
             myCache.query(new ScanQuery<>((key, val) -> true)).getAll();
@@ -163,6 +166,8 @@ public class PerformanceStatisticsPrinterTest {
             assertTrue("Performance statistics writer did not finish.", 
waitForCondition(lsnr::check, TIMEOUT));
 
             ign.context().performanceStatistics().stopCollectStatistics();
+
+            waitForStatisticsEnabled(false);
         }
 
         List<OperationType> expOps = F.asList(CACHE_START, CACHE_START, 
QUERY_PROPERTY, QUERY_PROPERTY, QUERY);
diff --git 
a/modules/performance-statistics-ext/src/test/java/org/apache/ignite/internal/performancestatistics/PerformanceStatisticsReportSelfTest.java
 
b/modules/performance-statistics-ext/src/test/java/org/apache/ignite/internal/performancestatistics/PerformanceStatisticsReportSelfTest.java
index c53e9b6a..33e2c633 100644
--- 
a/modules/performance-statistics-ext/src/test/java/org/apache/ignite/internal/performancestatistics/PerformanceStatisticsReportSelfTest.java
+++ 
b/modules/performance-statistics-ext/src/test/java/org/apache/ignite/internal/performancestatistics/PerformanceStatisticsReportSelfTest.java
@@ -65,7 +65,6 @@ import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 import org.junit.Test;
 
-import static java.lang.System.exit;
 import static java.util.Collections.singletonMap;
 import static org.apache.ignite.cache.query.IndexQueryCriteriaBuilder.gt;
 import static 
org.apache.ignite.internal.processors.performancestatistics.AbstractPerformanceStatisticsTest.waitForStatisticsEnabled;

Reply via email to