TestGossiper_Multiple_IndexFile: problem with IDs

TestGossiper_Multiple_IndexFile: problem with IDs

par Peter Krcmar,
Nombre de réponses : 2

Hi !

I've got an issue with the last test (TestGossiper_Multiple_IndexFile) which is due to nodes n1 and n3 both having the same id (0). When I change one of them to 2, so that they are all unique, I pass the test. I was wondering if I need to adapt my code to handle this situation or if this wouldn't happen normally and can be considered a typo ?

Thanks in advance

En réponse à Peter Krcmar

Re: TestGossiper_Multiple_IndexFile: problem with IDs

par Bastien Wermeille,

Hello,

I'm not a TA but I think that you might be right because I checked some other cases and in those case, their are not giving the same index.

Thanks for noticing it

En réponse à Peter Krcmar

Re: TestGossiper_Multiple_IndexFile: problem with IDs

par Pasindu Nivanthaka Tennage,

Hi Peter,

Thanks for pointing this out, and you are correct. It is a typo.

We fixed the node ID to be 2. We will push the changes to GitLab soon.

Regards
TAs