Commit 9f78848
authored
[TEST] Fix fix-PutSynonymsActionRequestSerializingTests equality tests (elastic#136677)
Relates elastic#136414
`randomValueOtherThan` does not handle arrays. Fixing this by mutating
`synonymRules` as a list before converting back to array.
Closes elastic#1366521 parent ecb6afb commit 9f78848
File tree
1 file changed
+5
-3
lines changed- server/src/test/java/org/elasticsearch/action/synonyms
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
0 commit comments