test: Record pool driver used for spawn_lxd when LXD_BACKEND=random for container_recover#17570
Conversation
simondeziel
left a comment
There was a problem hiding this comment.
This fixes a problem I introduced in commit f280bd3
69f444e to
b3bf9d1
Compare
Now that the Code job picks the |
Thinking some more, wouldn't that be equivalent to just duplicate a run from another driver? |
Hrm yes possibly, im not sure really what the intention is for the random storage mode. |
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
…or container_recover Rather than use the previous value which may be different. Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
b3bf9d1 to
927de4f
Compare
When
For pool to pool transfers, I've only seen |
Lets leave as-is then, thanks! |
Rather than use the previous value which may be different.
Previously:
So
poolDriver=lvmbutSetting up btrfs backend in /tmp/lxd-test.tmp.45Qe/o9wis the problem.This should fix the intermittent failures in
container_recover:rmdir: failed to remove '/tmp/lxd-test.tmp.45Qe/o9w/storage-pools/lxdtest-o9w/containers/test_c1': Directory not emptyfailures whenLXD_BACKEND=randomReally I'd prefer to see the test suite pick a random driver at start up and use that throughout.