grafana / k6-jslib-aws

Javascript Library allowing to interact with AWS resources from k6 scripts
Apache License 2.0
18 stars 29 forks source link

Fix flaky s3 listbuckets test #112

Closed oleiade closed 1 month ago

oleiade commented 1 month ago

In this PR, we address flakiness in the s3.listBuckets test. We used the ChaiJS above(1) statement, which checked if the value was greater than 1, although it turned out it could also be 1. We thus switch to least which performs a greater than or equal operation on the value instead.