lgoldstein edited a comment on issue #115: Add timeout with Duration and apply larger timeouts to tests that oft… URL: https://github.com/apache/mina-sshd/pull/115#issuecomment-592036767 I thought of something extra: if indeed we can use a Maven profile then instead of an absolute number for the timeouts we can use a "factor": ```java // or something to this effect. private static final Duration TIMEOUT = Duration.ofSeconds( (int) (...default value... * System.getFloatProperty("property.controlled.by.profile", 1.0f)))); ``` or both (using 2 separate properties) - as the case may be: whether we need an absolute of a relative number
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org