Slight change to retry's log message
- include function to be retried
- only print when retries are neeeded
Change-Id: I4e7d3d3c611ef175bc9c459d60c31438e4b4da4d
diff --git a/TestON/core/utilities.py b/TestON/core/utilities.py
index 930ce2d..3978a7d 100644
--- a/TestON/core/utilities.py
+++ b/TestON/core/utilities.py
@@ -331,7 +331,8 @@
else:
sleeptime = sleep
time.sleep( sleeptime )
- main.log.debug( str( i ) + " Attempts needed to pass this test" )
+ if i > 0:
+ main.log.debug( str( f ) + " was retried " + str( i ) + " times." )
return ret
except AssertionError:
main.log.exception( "Invalid arguements for retry: " )