wttech / aet

AET - a system that detects visual changes on web sites and performs basic page health checks
https://wttech.blog/open-source/
Apache License 2.0
146 stars 49 forks source link

Ambiguous message when client times out #284

Closed malaskowski closed 6 years ago

malaskowski commented 6 years ago

Version used

Context of the issue/feature

When AET Maven Client times out (parameter timeout is exceeded, that means no update was received from the AET Server for that period of time) ambigous message is presented to the end user: [ERROR] Failed to process test suite: 'sleep interrupted'

Steps to reproduce

  1. Run any suite with very short timeout parameter set, e.g. mvn aet:run -Dtimeout:1 Result: Message [ERROR] Failed to process test suite: 'sleep interrupted' presented in console Expected: More meaningful message is presented, e.g.: [ERROR] Failed to process test suite: 'Suite processing request was timed out after ${timeout-param-value} ms of waiting for feedback from AET server. This could mean that AET instance is heavy loaded or is temporary unavailable. Please try again in few minutes.
Slasheruus commented 6 years ago

I'm not able to reproduce it. My error was attached below. myerror

WaldemarrGr commented 6 years ago

I can not reproduce this error too input: mvn aet:run -Dtimeout=1 -DtestSuite=D:\AETtools\testSample\suite.xml

output: [ERROR] Failed to schedule test suite: 'Error while checking suite execution status: Read timed out'