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 713f6db406 PHOENIX-6835 Flakey
RowTimestampIT.testAutomaticallySettingRowTimestampWithDate
713f6db406 is described below
commit 713f6db40603899f2717a43dca005c6b2e3ca3c5
Author: Istvan Toth <[email protected]>
AuthorDate: Thu Nov 24 08:49:30 2022 +0100
PHOENIX-6835 Flakey
RowTimestampIT.testAutomaticallySettingRowTimestampWithDate
---
phoenix-core/src/it/java/org/apache/phoenix/end2end/RowTimestampIT.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowTimestampIT.java
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowTimestampIT.java
index b9b0eb4503..4795f16c01 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowTimestampIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RowTimestampIT.java
@@ -260,7 +260,7 @@ public class RowTimestampIT extends ParallelStatsDisabledIT
{
// the data in this query.
PreparedStatement stmt =
conn.prepareStatement("SELECT KV1, KV2, PK2 FROM " +
tableName
- + " WHERE PK1 = ? AND PK2 > ? AND PK2 < ? ");
+ + " WHERE PK1 = ? AND PK2 >= ? AND PK2 <= ? ");
stmt.setString(1, "PK1");
stmt.setDate(2, new Date(startTime));
stmt.setDate(3, new Date(endTime));