Install all test tools from run-tests.sh to make it easy to integrate into CI.
We install all test tools from run-tests script in a clean docker
instance so that we keep a minimum docker image size(snap-spread-tests).
Also, on docker instance, there's no symlink(/etc/resolv.conf)
pointing to /run/resolvconf/resolv.conf file which make all apt related
command failed due to the DNS issue. We create a symlink under
/run/resolvconf/ to point to actual /etc/resolv.conf file in this case.
One second waiting time for later check mapper device is probably good
good enough(at least no issue were found during my testing on CI). So
it's worth a try. Let's see how the Jenkins reacts about this change.
Install all test tools from run-tests.sh to make it easy to integrate into CI.
We install all test tools from run-tests script in a clean docker
instance so that we keep a minimum docker image size(snap-spread-tests).
Also, on docker instance, there's no symlink(/etc/resolv.conf)
pointing to /run/resolvconf/resolv.conf file which make all apt related
command failed due to the DNS issue. We create a symlink under
/run/resolvconf/ to point to actual /etc/resolv.conf file in this case.