This is an automated email from the ASF dual-hosted git repository.

virajjasani pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/phoenix-adapters.git


The following commit(s) were added to refs/heads/main by this push:
     new 54fd9fb  Fix flapper UpdateTableIT updateTableCreateCDCAndCreateIndex
54fd9fb is described below

commit 54fd9fb708fe93be178c06481136ec9b6ab5442f
Author: Palash Chauhan <[email protected]>
AuthorDate: Fri Mar 6 20:01:58 2026 -0800

    Fix flapper UpdateTableIT updateTableCreateCDCAndCreateIndex
---
 .../src/test/java/org/apache/phoenix/ddb/UpdateTableIT.java       | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git 
a/phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateTableIT.java 
b/phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateTableIT.java
index af08f28..045d3a6 100644
--- a/phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateTableIT.java
+++ b/phoenix-ddb-rest/src/test/java/org/apache/phoenix/ddb/UpdateTableIT.java
@@ -372,7 +372,9 @@ public class UpdateTableIT {
                 utre.tableDescription().streamSpecification().streamEnabled());
         
Assert.assertEquals(ddbUpdateResponse.tableDescription().streamSpecification().streamViewType(),
                 
utre.tableDescription().streamSpecification().streamViewType());
-        
Assert.assertEquals(ddbUpdateResponse.tableDescription().globalSecondaryIndexes().get(0).indexStatus().toString(),
+        // we return CREATING for both CREATE_DISABLE and BUILDING
+        // localddb will return ACTIVE almost immediately but we cannot tell 
when exactly
+        Assert.assertEquals("CREATING",
                 
utre.tableDescription().globalSecondaryIndexes().get(0).indexStatus().toString());
 
         // describe table shows stream enabled and index created
@@ -386,7 +388,9 @@ public class UpdateTableIT {
                 
describeTableResponse.table().streamSpecification().streamEnabled());
         
Assert.assertEquals(ddbDescribeTableResponse.table().streamSpecification().streamViewType(),
                 
describeTableResponse.table().streamSpecification().streamViewType());
-        
Assert.assertEquals(ddbDescribeTableResponse.table().globalSecondaryIndexes().get(0).indexStatus().toString(),
+        // we return CREATING for both CREATE_DISABLE and BUILDING
+        // localddb will return ACTIVE almost immediately but we cannot tell 
when exactly
+        Assert.assertEquals("CREATING",
                 
describeTableResponse.table().globalSecondaryIndexes().get(0).indexStatus().toString());
 
         // merges should be disabled for both table and index after enabling 
streams

Reply via email to