[Chapel Merge] Fix nightly memleak failure in DistributedMap

Branch: refs/heads/main
Revision: 1e101e4
Author: vasslitvinov
Link: Fix nightly memleak failure in DistributedMap by vasslitvinov · Pull Request #19624 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19624 from vasslitvinov/prediff-memleak

Fix nightly memleak failure in DistributedMap

This PR does not fix the memleaks. It sets up a prediff
so that the test passes nightly testing, following the lead of:

test/memory/ferguson/test1.chpl

plus sorting the output, which is needed to match .good reliably.

While there, reduce the problem size so that the test runs quickly.
If we want a stress test with higher problem size,
we should run it without --memLeaks.

Future work: do the same for these tests:

test/errhandling/parallel/forall-calls-throwing-fn2.chpl
test/library/packages/ConcurrentMap/testAddSet.chpl
test/library/packages/ConcurrentMap/testClear.chpl
test/library/packages/ConcurrentMap/testContains.chpl
test/library/packages/ConcurrentMap/testEquality.chpl
test/library/packages/ConcurrentMap/testExtend.chpl
test/library/packages/ConcurrentMap/testGetRemove.chpl
test/library/packages/EpochManager/distributedMemory/distributedMemory.chpl
test/library/packages/EpochManager/sharedMemory/sharedMemory.chpl
test/library/packages/LockFreeQueue/consistencyCheck.chpl
test/library/packages/LockFreeQueue/interleavedTest.chpl
test/library/packages/LockFreeStack/consistencyCheck.chpl
test/library/packages/LockFreeStack/interleavedTest.chpl
test/types/records/ferguson/leak-futures/iterate-loop-break.chpl
test/types/records/ferguson/leak-futures/iterate-loop-break2.chpl
test/types/records/ferguson/leak-futures/iterate-twice-break.chpl

Modified Files:
A test/library/draft/DistributedMap/use-distributed-map.comm-none.good

A test/library/draft/DistributedMap/use-distributed-map.execopts
A test/library/draft/DistributedMap/use-distributed-map.prediff
M test/library/draft/DistributedMap/use-distributed-map.chpl
M test/library/draft/DistributedMap/use-distributed-map.good

Compare: https://github.com/chapel-lang/chapel/compare/b4afa56565d6...1e101e49de58