Remove agricultural location from craters to prevent intermittent failures in oermap generation #73409
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
None
Purpose of change
I've been seeing intermittent failures in the overmap_terrain_coverage test due to placement of these Crater specials.
Describe the solution
I noticed a correlation with rural roads being reported and tried just removing the agricultural location from the special definition.
Describe alternatives you've considered
Removing Craters is an option, but I'd rather not throw them away over a flaw in the system.
There's definitely some underlying issue here that I haven't spotted, but I don't know what it is.
Testing
I ran the test repeatedly (a thousand times) overnight with the following invocation:
printf 'overmap_terrain_coverage\n%.0s' {0..1000} | parallel --bar -j 5 "tests/cata_test "{}" | tee big_test_results/test_{#}"
This invokes up to 5 instances of the test in parallel and writes their results out to files in the given subdirectory.
In previous testing I saw this failure more like one time out of a hundred, so it's very unlikely I saw this many passes without addressing the issue.