Package org.apache.solr.util
Class RandomizeSSL.SSLRandomizer
java.lang.Object
org.apache.solr.util.RandomizeSSL.SSLRandomizer
- Enclosing class:
RandomizeSSL
A simple data structure for encapsulating the effective values to be used when randomizing SSL
in a test, based on the configured values in the
RandomizeSSL annotation.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRandomly produces an SSLTestConfig taking into account various factorsstatic doublegetEffectiveOdds(double declaredOdds, boolean nightly, int multiplier) static final RandomizeSSL.SSLRandomizergetSSLRandomizerForClass(Class<?> clazz) Returns an SSLRandomizer suitable for the specified (test) class
-
Field Details
-
ssl
public final double ssl -
clientAuth
public final double clientAuth -
debug
-
-
Constructor Details
-
SSLRandomizer
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Method Details
-
createSSLTestConfig
Randomly produces an SSLTestConfig taking into account various factors- See Also:
-
getEffectiveOdds
public static double getEffectiveOdds(double declaredOdds, boolean nightly, int multiplier) - NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
- Public only for testing
-
getSSLRandomizerForClass
Returns an SSLRandomizer suitable for the specified (test) class
-