Tests not running when corrects

Tests not running when corrects

par Ulysse Coscoy,
Nombre de réponses : 4

Hi,

I have an issue with every correct test i have never return anything (just wait until the end of the test time).

If a test is a failure, it will fail normally, any idea why ?

thanks in advance.


En réponse à Ulysse Coscoy

Re: Tests not running when corrects

par Aaron Joos Lippeveldts,

If you mean that the test will run forever and not show any output without -v, it probably means the test is passing but is waiting forever for your gossipers to exit.

I had the same problem, and it turned out the stopMsg thing did not work anymore on my computer. I don't know why, golang update maybe(?) but whenever I tried to send a message to a socket using itself it would quietly fail with error "sendto: invalid argument 127.0.0.1:0". Maybe you have the same issue?

En réponse à Aaron Joos Lippeveldts

Re: Tests not running when corrects

par Dorian Ros,

I had the same problem at the beginning. You might want to look at the address that is given to your gossiper during their instantiation in the tests, this might give you a clue to what is happening.