chore: update tests to avoid flakiness

This commit is contained in:
Zach Daniel 2024-08-07 19:44:01 -04:00
parent ae2b737e87
commit 763b0c59ed

View file

@ -10,7 +10,7 @@ defmodule Ash.Test.UUIDv7Test do
test "generate/1 is ordered" do
uuids =
for _ <- 1..10_000 do
for _ <- 1..100 do
uuid = Ash.UUIDv7.generate()
# only guaranteed sorted if >= 1 nanosecond apart
# can't sleep for one nanoseond AFAIK, so sleep for 1 ms