Skip to content

Commit a0bb46d

Browse files
authored
Remove duplicate code in ESIntegTestCase (#120799)
Remote duplicated code
1 parent 242b841 commit a0bb46d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/changelog/120799.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 120799
2+
summary: Remove duplicate code in ESIntegTestCase
3+
area: Search
4+
type: bug
5+
issues: []

test/framework/src/main/java/org/elasticsearch/test/ESIntegTestCase.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,10 +1265,6 @@ protected final void doEnsureClusterStateConsistency(NamedWriteableRegistry name
12651265
masterClusterState.stateUUID(),
12661266
localClusterState.stateUUID()
12671267
);
1268-
1269-
// Compare the stateMaps for equality.
1270-
assertNull(XContentTestUtils.differenceBetweenMapsIgnoringArrayOrder(masterStateMap, localStateMap));
1271-
12721268
// Compare JSON serialization
12731269
assertNull(
12741270
"cluster state JSON serialization does not match",

0 commit comments

Comments
 (0)