SUMUKHA-PK / Raft-Distributed-Consensus

Implementation of Raft: A distributed consensus protocol, in Go.
MIT License
0 stars 4 forks source link

Test for StartServer.go #7

Closed apoorva-mk closed 4 years ago

apoorva-mk commented 4 years ago

When test passes :

2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 false [] <nil>
2019/12/16 20:27:15 Starting Server on 127.0.0.1:55553
PASS
ok      github.com/SUMUKHA-PK/Raft-Distributed-Consensus/servermanagement       0.030s

When test fails:

2019/12/16 20:30:31 Starting Server on 127.0.0.1:55555
2019/12/16 20:30:31 Could not start server : listen tcp 127.0.0.1:55555: bind: address already in use
exit status 1
FAIL    github.com/SUMUKHA-PK/Raft-Distributed-Consensus/servermanagement       0.024s
SUMUKHA-PK commented 4 years ago

@apoorva-mk , please include the output of the tests in the description :)

SUMUKHA-PK commented 4 years ago

@apoorva-mk , resolve all conversations please :)