This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push: new 4ea742ceb7 PHOENIX-6843 Flakey ViewTTLIT 4ea742ceb7 is described below commit 4ea742ceb7c6c2e4d7d31de1fc317c687a100801 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 690d4cd6fb..ea2d945ab3 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)) {