Tryton - Issues

 

Issue6844

Title Tests are failed sometimes because PG is not accepting connection yet
Priority bug Status testing
Superseder Nosy List ced
Type behavior Components
Assigned To ced Keywords
Reviews

Created on 2017-10-12.09:26:59 by ced, last changed by ced.

Messages
msg36358 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-10-18.14:57:48
It tooks 9 seconds before trying to connect to the database.
I think instead of adding a sleep for random number, we should calibrate better the number of agents that runs on the testing server.
I decrease the number to 4 now to not overload the server, let's see how it works. If we want faster tests, the Foundation should provide more machines.
msg36252 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-10-12.09:27:22
Example of such failure: https://drone.tryton.org/tryton/trytond/37/13
msg36251 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-10-12.09:26:58
I think we should add the trick of http://docs.drone.io/services/#initialization
15 seconds seems long, I propose to put 5 seconds.
History
Date User Action Args
2017-10-18 14:57:48cedsetstatus: in-progress -> testing
messages: + msg36358
2017-10-12 09:27:22cedsetmessages: + msg36252
2017-10-12 09:26:59cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)