mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
[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…
x
Reference in New Issue
Block a user