mirror of https://github.com/apache/nifi.git
NIFI-7587 This closes #4372. Increased tolerance for non-deterministic unit test.
Signed-off-by: Joe Witt <joewitt@apache.org>
This commit is contained in:
parent
c221e4934d
commit
045027892a
|
@ -756,7 +756,7 @@ class PeerSelectorTest extends GroovyTestCase {
|
|||
// The actual distribution would be .25 * 4, but because of the penalization, node2 and node4 will each have ~50%
|
||||
final Map<String, Double> EXPECTED_PERCENTS = ["node1.nifi": 0.0, "node2.nifi": 50.0, "node3.nifi": 0.0, "node4.nifi": 50.0]
|
||||
|
||||
assertDistributionPercentages(resultsFrequency, EXPECTED_PERCENTS, NUM_TIMES, 0.01)
|
||||
assertDistributionPercentages(resultsFrequency, EXPECTED_PERCENTS, NUM_TIMES, 0.05)
|
||||
}
|
||||
|
||||
// Copied legacy tests from TestPeerSelector
|
||||
|
|
Loading…
Reference in New Issue