mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 02:39:44 +00:00
applied similar fixes to rhizome direct pull and sync tests as
were recently made to rhizome direct push test. Now to implement the rhizome direct http pull functionality so that they work... #9
This commit is contained in:
parent
1c72778c50
commit
7c544b25f2
@ -303,10 +303,14 @@ setup_Pull() {
|
||||
}
|
||||
test_Pull() {
|
||||
executeOk_servald rhizome direct pull
|
||||
assert bundle_received_by $BID2 $VERSION2 +A
|
||||
assert ! bundle_received_by $BID1 $VERSION1 +B
|
||||
assert bundle_received_by $BID1 $VERSION1 +B
|
||||
assert ! bundle_received_by $BID2 $VERSION2 +A
|
||||
set_instance +A
|
||||
assert_received file2
|
||||
executeOk_servald rhizome list ''
|
||||
assert_rhizome_list file1
|
||||
set_instance +B
|
||||
executeOk_servald rhizome list ''
|
||||
assert_rhizome_list file1 file2
|
||||
}
|
||||
|
||||
doc_Sync="Two-way sync bundles between unconnected nodes"
|
||||
@ -319,9 +323,11 @@ test_Sync() {
|
||||
assert bundle_received_by $BID2 $VERSION2 +A
|
||||
assert bundle_received_by $BID1 $VERSION1 +B
|
||||
set_instance +A
|
||||
assert_received file2
|
||||
executeOk_servald rhizome list ''
|
||||
assert_rhizome_list file1 file2
|
||||
set_instance +B
|
||||
assert_received file1
|
||||
executeOk_servald rhizome list ''
|
||||
assert_rhizome_list file1 file2
|
||||
}
|
||||
|
||||
doc_HttpAddLocal="Add file locally using HTTP, returns manifest"
|
||||
|
Loading…
Reference in New Issue
Block a user