Agent Pool accepts negative timeout value.
How to reproduce:
1. Start JavaTest and Open Agent Monitor
2. Set timeout value to negative number (for example, -1)
3. Click on Listening checkbox
JavaTest will start listening with negative timeout. No error or warning will be shown.
All tests will be failed with the following error:
Error. No agents available for use: Timeout waiting for agent to become available
Also JavaTest accept zero timeout. Behavior with the zero value same as with negative values.
How to reproduce:
1. Start JavaTest and Open Agent Monitor
2. Set timeout value to negative number (for example, -1)
3. Click on Listening checkbox
JavaTest will start listening with negative timeout. No error or warning will be shown.
All tests will be failed with the following error:
Error. No agents available for use: Timeout waiting for agent to become available
Also JavaTest accept zero timeout. Behavior with the zero value same as with negative values.