apjanke / octave-testify

New BIST (Built-In Self Test) functions for GNU Octave
GNU General Public License v3.0
4 stars 2 forks source link

forge tester: lock file to prevent concurrent runs #35

Closed apjanke closed 5 years ago

apjanke commented 5 years ago

If you run the Forge Tester in multiple concurrent sessions, it'll hose both the test runs and your pkg installation directory, because of the overlapping installs and uninstalls.

Add a lock file somewhere to prevent concurrent runs.

apjanke commented 5 years ago

Done in https://github.com/apjanke/octave-testify/commit/7652314ebe11385f112fe879834aee0b8fc93b1a.

apjanke commented 5 years ago

This should include the host name in the log file. And the acquisition failure message should include the lock file contents. Reopening.

apjanke commented 5 years ago

Added host name and lock-contents-in-failure-message in https://github.com/apjanke/octave-testify/commit/630f9f284d4942c6c6a7b568e3baf853e0d0146a. Closing again.