dbos-inc / dbos-transact-py

Ultra-Lightweight Durable Execution in Python
https://docs.dbos.dev
MIT License
244 stars 7 forks source link

Tests - check clean WFQ; wave spacing #124

Closed chuck-dbos closed 1 month ago

chuck-dbos commented 1 month ago

Check queue is clean after the one-at-a-time rate limited test.

test_one_at_a_time_with_limiter did not check queue_entries_are_cleaned_up, but the test it copied from (test_one_at_a_time) did.

Also, the wave spacing calc looked sus to me.

Give a little more tolerance on the calculations. GH runner is failing them occasionally - for example off by .14s where the tolerance was .1...