Merge lp:~pwlars/utah/from-host-unique-dir into lp:utah
Status: | Merged |
---|---|
Merged at revision: | 1008 |
Proposed branch: | lp:~pwlars/utah/from-host-unique-dir |
Merge into: | lp:utah |
Diff against target: |
30 lines (+6/-2) 1 file modified
examples/run_utah_phablet.py (+6/-2) |
To merge this branch: | bzr merge lp:~pwlars/utah/from-host-unique-dir |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andy Doan (community) | Approve | ||
Max Brustkern (community) | Approve | ||
Review via email: mp+186112@code.launchpad.net |
Description of the change
When we tried to run tests with FROM_HOST turned on for the phone testing, we saw that sometimes directories appeared to be missing at random. It looks like when utah is copying those testsuites to /var/lib/
This sets up a temporary directory to point utah to as the testdir. After some digging, I noticed that the statefile for utah still all happens in /var/lib/utah. I didn't see any problems with this since we don't reboot the host during tests, and we never saw any errors about the statefile, just the testsuite dirs being missing midway through the tests. Tested this locally with a phablet test run and the tmpdir does happen in /tmp/[generated] for each run
We may want to implement a deeper solution at some point, but we've already discussed how difficult that will be. I think this looks good for now.