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

commit af9724d5833410aeaddcd9ddd3d23a56f603a012
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 31b3e0f7c3..ffb0adcb0a 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
@@ -286,11 +286,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