filecoin-saturn / roadmap

0 stars 0 forks source link

Caboose APA - Get the tests passing #12

Open reidlw opened 1 year ago

reidlw commented 1 year ago

Tests are failing; @AmeanAsad and @willscott are working on finding and fixing bugs.

reidlw commented 1 year ago

@AmeanAsad please leave notes, links to PRs/issues/etc. here to hand off for your PTO

AmeanAsad commented 1 year ago

Update and PTO Handoff

Relevant PR: https://github.com/filecoin-saturn/caboose/pull/153 Relevant Issue: https://github.com/filecoin-saturn/caboose/issues/150

Tried to provide a good baseline for tests that simulate the caboose pool refreshing over time. The main idea behind the tests is to establish a set of “good” nodes and a set of "bad" nodes. The tests simulate the caboose pool refreshing over time as these nodes are getting injected with stats. The pool should always converge to the "good" nodes set. I tried to keep things a bit verbose so that it is more readable (left some print statements, etc. that I was using for debugging) but expect to clean things up for the final version. The current tests have some high level description that clearly state what each test is achieving.

In terms of completion of the tests, the tests we currently have cover a few scenarios but here are the two biggest gaps I see we currently have in terms of testing the functionality:

willscott commented 12 months ago

Tests are now passing