Class TimeoutsProvider


  • @Deprecated
    public class TimeoutsProvider
    extends java.lang.Object
    Deprecated.
    duplicate of TimeoutsProvider. This will be removed in the future, so switch to the other one instead
    Return timeout values that can be multiplied by a configurable factor. Useful to cope with slower integration testing systems: use timeout constants in your code that work for usual development systems, and set a multiplier when running on a slower system.
    • Field Detail

      • PROP_TIMEOUT_MULTIPLIER

        public static final java.lang.String PROP_TIMEOUT_MULTIPLIER
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • getTimeout

        public long getTimeout​(long nomimalValue)
        Deprecated.
      • getTimeout

        public int getTimeout​(int nomimalValue)
        Deprecated.
      • getTimeout

        public int getTimeout​(java.lang.String systemPropertyName,
                              int defaultNominalValue)
        Deprecated.
        Get timeout from a system property, with default value
        Parameters:
        systemPropertyName - Name of the system property that holds the timeout multiplier
        defaultNominalValue - The default timeout multiplier
        Returns:
        the total timeout value