Merge lp:~mvo/snappy/snappy-lp1468831-race into lp:~snappy-dev/snappy/snappy-moved-to-github
Proposed by
Michael Vogt
on 2015-08-26
| Status: | Rejected |
|---|---|
| Rejected by: | Michael Vogt on 2015-09-01 |
| Proposed branch: | lp:~mvo/snappy/snappy-lp1468831-race |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Diff against target: |
26 lines (+9/-0) 1 file modified
helpers/helpers_test.go (+9/-0) |
| To merge this branch: | bzr merge lp:~mvo/snappy/snappy-lp1468831-race |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Federico Gimenez | continuous-integration | Pending | |
| Snappy Developers | 2015-08-26 | Pending | |
|
Review via email:
|
|||
Description of the Change
Tiny branch that avoids race in tests
To post a comment you must log in.
| Michael Vogt (mvo) wrote : | # |
| Leo Arias (elopio) wrote : | # |
A little late, but yes, if we can fake the sleeps and times for unit tests, that will make things faster and we will be able to test more complex things.
Thanks mvo.
Unmerged revisions
- 641. By Michael Vogt on 2015-08-26
-
helpers/
helpers_ test.go: avoid race in fs-compare code by waiting a tiny bit if the time is too close to a minute change


Thinking about this, running the entire testsuite with faketime might also be a alternative. Not sure if its a better one though.