-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify to always track when providing; Add provider and reprovider sh…
…arness tests License: MIT Signed-off-by: Michael Avila <davidmichaelavila@gmail.com>
- Loading branch information
1 parent
c3b19d7
commit abf778e
Showing
5 changed files
with
153 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
|
||
test_description="Test reprovider" | ||
|
||
. lib/test-lib.sh | ||
|
||
NUM_NODES=2 | ||
|
||
init_cluster ${NUM_NODES} | ||
|
||
start_node 0 | ||
start_node 1 | ||
|
||
has_no_peers 0 | ||
has_no_peers 1 | ||
connect_peers 0 1 | ||
has_peer 0 $node1 | ||
has_peer 1 $node0 | ||
|
||
add_data_to_node 0 | ||
|
||
stop_node 0 | ||
|
||
find_provs 1 $hash0 $node0 | ||
|
||
stop_node 1 | ||
|
||
test_done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abf778e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were the following issues with your Pull Request
We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend
can often help you quickly improve the commit message.Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.
This message was auto-generated by https://gitcop.com
abf778e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were the following issues with your Pull Request
We ask for a few features in the commit message for Open Source licensing hygiene and commit message clarity.
git commit --amend
can often help you quickly improve the commit message.Guidelines and a script are available to help in the long run.
Your feedback on GitCop is welcome on this issue.
This message was auto-generated by https://gitcop.com