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 57daedce3c PHOENIX-7045 
AlterTableWithViewsIT.testCreateViewWithPropsMaintainsOwnProps failing on 5.1
57daedce3c is described below

commit 57daedce3c6d3e2307a8f7882d7e3d6bd3a7c57c
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Sep 21 16:48:55 2023 +0200

    PHOENIX-7045 AlterTableWithViewsIT.testCreateViewWithPropsMaintainsOwnProps 
failing on 5.1
---
 .../src/it/java/org/apache/phoenix/end2end/AlterTableWithViewsIT.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableWithViewsIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableWithViewsIT.java
index 8b8e2a458b..3e9ada03a5 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableWithViewsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableWithViewsIT.java
@@ -284,11 +284,11 @@ public class AlterTableWithViewsIT extends 
SplitSystemCatalogIT {
             assertNull(table.useStatsForParallelization());
             assertNull(viewTable1.useStatsForParallelization());
             assertTrue(viewTable2.useStatsForParallelization());
-
             // Alter a property value for the base table. So the view for 
which this property was
             // not explicitly set or modified earlier should get the base 
table's new property value
             conn.createStatement().execute("ALTER TABLE " + tableName
                     + " SET UPDATE_CACHE_FREQUENCY=3, 
USE_STATS_FOR_PARALLELIZATION=false");
+            Thread.sleep(2);
             // query the views to force the table cache to be updated
             viewConn.createStatement().execute("SELECT * FROM " + 
viewOfTable1);
             viewConn.createStatement().execute("SELECT * FROM " + 
viewOfTable2);

Reply via email to