eproxus / meck

A mocking library for Erlang
http://eproxus.github.io/meck
Apache License 2.0
811 stars 231 forks source link

Isolate backup *.coverdata from other beam instances #200

Closed dcsommer closed 5 years ago

dcsommer commented 5 years ago

If multiple beam instances are launched in parallel with the same current working directory, it is possible for the backup cover data from one instance to be squashed and deleted by other instances. By adding the OS pid of beam.smp itself to the filename, we avoid this potential issue.

eproxus commented 5 years ago

Nice, thanks!