Increase iteration count for asset tests (#9737)
This needs to be much higher to avoid failures in CI. I don't love the "loop until" test methodology generally, but this is testing internal state and making this event driven would change the nature of the test.
This commit is contained in:
parent
17edf4f7c7
commit
0c44de7626
@ -533,7 +533,7 @@ mod tests {
|
||||
panic!("Ran out of loops to return `Some` from `predicate`");
|
||||
}
|
||||
|
||||
const LARGE_ITERATION_COUNT: usize = 50;
|
||||
const LARGE_ITERATION_COUNT: usize = 10000;
|
||||
|
||||
fn get<A: Asset>(world: &World, id: AssetId<A>) -> Option<&A> {
|
||||
world.resource::<Assets<A>>().get(id)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user