sim: tested concurrency over actions

This demonstrates concurrent behavior that looks right. And with a
random seed, the results are deterministic.

init foo
init bar
init backup
connect foo <-> bar
connect foo <-> backup
addmulti 10 testfiles 1mb 1gb foo backup
action foo gitpull backup
wanted foo nothing
wanted bar anything
wanted backup anything
action bar gitpull foo
action foo dropunwanted while action bar getwanted foo
This commit is contained in:
Joey Hess 2024-09-17 14:39:53 -04:00
parent 6751f23978
commit 29d8429779
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -30,8 +30,6 @@ Planned schedule of work:
* Currently working in [[todo/proving_preferred_content_behavior]]
* sim: Test concurrency over actions.
* sim: implement addtree
* sim: May need to use LiveUpdate to make size balanced preferred content