CLI test fail on gitlab

CLI test fail on gitlab

by Clement Luc Irenee Blaudeau -
Number of replies: 1
Sometimes (~50% of the time actually), the CLI test fails on gitlab because of the following error:
Error connecting to the Gossiper:  Post "http://127.0.0.1:2001/message": dial tcp 127.0.0.1:2001: connect: connection refused

As advised for homework 0, I use the normal http library, specifically the Post function.
Would you have a clue of what I'm doing wrong ?

Thank you for you help !
In reply to Clement Luc Irenee Blaudeau

Re: CLI test fail on gitlab

by Elie Daou -

Probably the same thing from Homework 0, try adding a timer to the cli sendMsg, as suggested here:

https://moodlearchive.epfl.ch/2020-2021/mod/forum/discuss.php?d=42548