mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-04 17:49:09 +00:00
Improve new Rhizome stress test
Now it fails for the right reasons, and does not produce ERROR.
This commit is contained in:
parent
381fc7cad8
commit
1eeb040602
@ -396,7 +396,7 @@ test_DirectSync() {
|
||||
assert_received file1
|
||||
}
|
||||
|
||||
doc_FileTransferStress="Many bundle transfers between five nodes"
|
||||
doc_FileTransferStress="Stress - five nodes each sharing 16 bundles"
|
||||
setup_FileTransferStress() {
|
||||
setup_servald
|
||||
assert_no_servald_processes
|
||||
@ -411,13 +411,9 @@ setup_FileTransferStress() {
|
||||
eval "bundles$i+=(\$BID:\$VERSION)"
|
||||
done
|
||||
done
|
||||
start_servald_instances +A +B +C +D +E
|
||||
foreach_instance +A assert_peers_are_instances +B +C +D +E
|
||||
foreach_instance +B assert_peers_are_instances +A +C +D +E
|
||||
foreach_instance +C assert_peers_are_instances +A +B +D +E
|
||||
foreach_instance +D assert_peers_are_instances +A +B +C +E
|
||||
}
|
||||
test_FileTransferStress() {
|
||||
start_servald_instances +A +B +C +D +E
|
||||
wait_until bundle_received_by \
|
||||
$bundlesA +B +C +D +E \
|
||||
$bundlesB +A +C +D +E \
|
||||
|
Loading…
x
Reference in New Issue
Block a user