Homework 1 forum

rTime in test cases

 
Picture of Utku Görkem Ertürk
rTime in test cases
by Utku Görkem Ertürk - Sunday, 11 October 2020, 22:21
 

Hi,

The homework sheet states that gossiper Notify watchers for all messages that gossiper sends and receives. That's why when start-up route rumor is sent, watcher detects empty strings. This circumstance causes the tests to fail. To disable routing, can I set rTime of the tests(first published ones) to 0. If not, what is the correct way of placing watchers?

Thank you.

Picture of Cristina Basescu
Re: rTime in test cases
by Cristina Basescu - Monday, 12 October 2020, 12:08
 

Hi,

Thanks for signaling the issue, you're totally right. We're currently looking at the tests for Part 1 and will push an update, possibly by setting rTimer to 0, as you suggested.

Thanks,

Cristina

Picture of Cristina Basescu
Re: rTime in test cases
by Cristina Basescu - Tuesday, 13 October 2020, 11:01
 

We've fixed the tests, they are now in everyone's hw1 repo on their master branch. Please let us know if you still experience problems.

Thanks,

Cristina