tonobo/hcloud-ruby

Doubles tests failure with seed 50938

aufziehvogel opened this issue · 1 comments

We found a situation in which the doubles tests do not run successfully with random order. The following seed breaks the tests:

bundle exec rspec -t doubles --order rand --seed 50938

imo the problem is not (as I thought) the test order, but instead the random choice range. The test can choose 100 to 150 actions and then tests pagination with 50 items per page. For 100 items this requires one page less. Setting the range to 101 to 150 should do the trick.