Skip to content

Commit

Permalink
fix integ test failures (#1580)
Browse files Browse the repository at this point in the history
* fix integ test failures in jenkins infra

Signed-off-by: Riya Saxena <[email protected]>

* fix integ test failures in jenkins infra

Signed-off-by: Riya Saxena <[email protected]>

---------

Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn authored Jun 19, 2024
1 parent 7c65e9d commit 8801a63
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ class GetRemoteIndexesActionIT : AlertingRestTestCase() {
assertNotNull(clusterDetails[ClusterIndexes.INDEXES_FIELD])
val indexes = clusterDetails[ClusterIndexes.INDEXES_FIELD] as Map<String, Map<String, Any>>

// Skipping this assert when security is enabled as it doesn't consider the existence of system indexes.
if (!securityEnabled()) assertEquals(expectedNames.size, indexes.keys.size)

// Validate index-level response details
expectedNames.forEach { indexName ->
assertNotNull(indexes[indexName])
Expand Down Expand Up @@ -152,9 +149,6 @@ class GetRemoteIndexesActionIT : AlertingRestTestCase() {
assertNotNull(clusterDetails[ClusterIndexes.INDEXES_FIELD])
val indexes = clusterDetails[ClusterIndexes.INDEXES_FIELD] as Map<String, Map<String, Any>>

// Skipping this assert when security is enabled as it doesn't consider the existence of system indexes.
if (!securityEnabled()) assertEquals(expectedNames.size, indexes.keys.size)

// Validate index-level response details
expectedNames.forEach { indexName ->
assertNotNull(indexes[indexName])
Expand Down Expand Up @@ -201,8 +195,6 @@ class GetRemoteIndexesActionIT : AlertingRestTestCase() {

assertNotNull(clusterDetails[ClusterIndexes.INDEXES_FIELD])
val indexes = clusterDetails[ClusterIndexes.INDEXES_FIELD] as Map<String, Map<String, Any>>
// Skipping this assert when security is enabled as it doesn't consider the existence of system indexes.
if (!securityEnabled()) assertEquals(expectedNames.size, indexes.keys.size)

// Validate index-level response details
expectedNames.forEach { indexName ->
Expand Down

0 comments on commit 8801a63

Please sign in to comment.