This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch 5.1 in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/5.1 by this push: new c296f7c9d5 PHOENIX-6843 Flakey ViewTTLIT c296f7c9d5 is described below commit c296f7c9d5c5e71a67626c1c17ecb4dc0f8f1c38 Author: Istvan Toth <st...@apache.org> AuthorDate: Fri Dec 2 11:08:39 2022 +0100 PHOENIX-6843 Flakey ViewTTLIT --- phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java index e77bc37eae..0c66c11dfc 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java @@ -2377,7 +2377,7 @@ public class ViewTTLIT extends ParallelStatsDisabledIT { // Verify before TTL expiration Properties props = new Properties(); - long scnTimestamp = EnvironmentEdgeManager.currentTimeMillis(); + long scnTimestamp = EnvironmentEdgeManager.currentTimeMillis() + 1; props.setProperty("CurrentSCN", Long.toString(scnTimestamp)); props.setProperty(QueryServices.COLLECT_REQUEST_LEVEL_METRICS, String.valueOf(true)); try (Connection readConnection = DriverManager.getConnection(tenantConnectUrl, props)) { @@ -2414,7 +2414,7 @@ public class ViewTTLIT extends ParallelStatsDisabledIT { .getTenantId(); // Verify rows exists (not masked) at current time - long scnTimestamp = EnvironmentEdgeManager.currentTimeMillis(); + long scnTimestamp = EnvironmentEdgeManager.currentTimeMillis() + 1; Properties props = new Properties(); props.setProperty("CurrentSCN", Long.toString(scnTimestamp )); try (Connection readConnection = DriverManager.getConnection(tenantConnectUrl, props)) {