Crash test released #49
TANSixu
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, we just released our last basic sanity test - crash test. See PR #48
Run the following command to fetch the update:
If you did not configure your local git, please refer to crash test file change record to update your file.
Note that there is a bit change in grader.py.
Crash test
This test examines the basic function of your robustness.
Peer1 will be downloading chunk2 from Peer2, then peer2 will crash in the dowloading process. Peer1 should be able to download from peer3.
This test will be running with network simulator, with topology test/tmp4/topo4.map.
.fragment files:
data4-1.fragment: chunk1
data4-2.fragment: chunk2
This testing script is equivalent to run the following commands in different shells (remember to export SIMULATOR in each shell):
What's next
If you pass all basic tests, congrats! But the most exciting part of this project is running your peer in complex networks. We will provide you with a script to start multiple peers by the end of this year and an example of networks and tasks. And we will host a session to guide you to play with your peer.
Beta Was this translation helpful? Give feedback.
All reactions