Commit a35f531
committed
Refactor
The main two things done in this commit are:
- Split large test methods which do several independent tests in
blank code blocks into more smaller methods.
- Fix an unnecessarily complicated pattern where the code would
create a `Function` in a local variable and then immediately
`apply` it exactly once... rather than just executing the code
normally.DataStreamAutoShardingServiceTests
1 parent 0c50403 commit a35f531
File tree
1 file changed
+310
-339
lines changed- server/src/test/java/org/elasticsearch/action/datastreams/autosharding
1 file changed
+310
-339
lines changed
0 commit comments