Class TimeoutsProvider


  • @Deprecated
    public class TimeoutsProvider
    extends 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.
    • Method Detail

      • getTimeout

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

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

        public int getTimeout​(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