[Tests] Fix occasional test failure due to two random values being the same

This commit is contained in:
Christoph Büscher 2017-10-27 12:06:16 +02:00
parent 9253ea8aec
commit b88dbe8f49
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ public class InternalMatrixStatsTests extends InternalAggregationTestCase<Intern
}
final String unknownField = randomAlphaOfLength(3);
final String other = randomAlphaOfLength(3);
final String other = randomValueOtherThan(unknownField, () -> randomAlphaOfLength(3));
for (MatrixStats matrix : Arrays.asList(actual)) {