[Tests] Fix occasional test failure due to two random values being the same
This commit is contained in:
parent
9253ea8aec
commit
b88dbe8f49
|
@ -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)) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue