Fix random failing Resource config spec.
Merge pull request #2502 from zizkovrb/fix-random-order-resource-spec

Fix random failing Resource config spec.