Closed erezrokah closed 3 months ago
I don't think
scheduler_fuzz
is a good name for this. I did the exercise of looking at the code without looking at the issue first, and it made no sense to me what the point of this scheduler was π€It's more of a load test scheduler π€ It doesn't do fuzzing.
π― Happy to rename it. I don't like the fuzz name as well (though it might do some fuzzing in the future). I'll rename
π― Happy to rename it. I don't like the fuzz name as well (though it might do some fuzzing in the future). I'll rename
Done in https://github.com/cloudquery/plugin-sdk/pull/1862/commits/08bb4a04ba738cd8c866b2fa59d60be9b53056e7
Summary
A very crude and simple way to do https://github.com/cloudquery/cloudquery-issues/issues/1846. Adds a new hidden
fuzztest scheduler that only multiplies the clients (at the moment). The code is based on the shuffle scheduler then adds then duplicates client based on the multiplier.See example:
This has a couple of downsides/tradeoffs
However I think this is still useful if we want to artificially make a sync large (e.g. simulate a sync on many AWS accounts)
Use the following steps to ensure your PR is ready to be reviewed
go fmt
to format your code πgolangci-lint run
π¨ (install golangci-lint here)