Add mutex and test for safe concurrent VBoxManage access #2179
Conversation
Like I said I think it may allow us to also remove the serial bit in |
67e6c4e
to
f5238e5
Compare
@docker/machine-maintainers PTAL |
This is tripping a race condition apparently. |
Yeah, I noticed that. I'm actually not sure how much good the test is doing in this case (since essentially it's elaborate test of mutex itself), so I might just take it out, even though I initially was really adamant about including one. |
f5238e5
to
526d74d
Compare
Alright, how about this: I've turned off running this test on |
To be clear, it's intentional that the test races. |
Ah - I don't think you need this actually - @docker/machine-maintainers PTAL |
Right, I see. I'll take the Makefile change out then. Should be good to go since you have to intentionally mark tests which will get skipped with short, which I haven't done here. |
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
526d74d
to
70564c6
Compare
@nathanleclaire I've tested the code with #2154 and it does not solve the issue. |
@nathanleclaire shall we close this PR? Clearly, the mutex has no effect since each |
@dgageot Yep |
Closes #2154
Signed-off-by: Nathan LeClaire nathan.leclaire@gmail.com