Project

Profile

Help

Task #7317

Updated by Mark Zaslavskiy almost 5 years ago

Installation https://dev.osll.ru/issues/7317#note-5

1. Keeping vagrant lock in case of other task created it

Run
- echo "non-existing-job-1111" >> ~/vagrant_lock
- run run_test
- abort run_test
- wait till run_test and smart_remove_lock finished their work

Expected result:
- smart_remove_lock was executed in te end of run_test build
- ~/vagrant_lock exists
- smart_remove_lock failed

2. Successful remove of a vagrant lock in case of aborting task

- run run_test
- wait till vagrant_lock will be aquired
- abort build

Expected result:
- smart_remove_lock was executed in te end of run_test build
- ~/vagrant_lock does not exist
- smart_remove_lock succed

Back