Add new rpc from ClusterAdmin to sanity
[integration/test.git] / csit / suites / controller / dom_data_broker / ddb-sanity-prefix-based.robot
index 40418d97391e0a96f0b1dc89e9a1d995c87fee1e..97ad8a72aa4d67cbc469567d275e44886bcb0cf2 100644 (file)
@@ -36,6 +36,12 @@ ${CHAINED_TX}     ${True}
 ${ID_PREFIX}      prefix-
 
 *** Test Cases ***
+Get_Prefix_Shard_Role
+    [Documentation]    Get prefix shard role.
+    ${all_indices} =    ClusterManagement.List_All_Indices
+    : FOR    ${index}    IN    @{all_indices}
+    \    ${role} =    ClusterAdmin.Get_Prefix_Shard_Role    ${index}    ${PREF_BASED_SHARD}    ${SHARD_TYPE}
+
 Produce_Transactions_One_Node_Leader
     [Documentation]    Produce transactions.
     ${all_indices} =    ClusterManagement.List_All_Indices