[PATCH] Use unsafe caching during kickstart tests.

Brian C. Lane bcl at redhat.com
Thu Oct 29 16:56:33 UTC 2015


On Thu, Oct 29, 2015 at 11:50:39AM -0400, Chris Lumens wrote:
> This doesn't seem to do anything bad, and it does speed up each test by
> several minutes in my very unscientific checking.
> ---
>  tests/kickstart_tests/scripts/run_one_ks.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/kickstart_tests/scripts/run_one_ks.sh b/tests/kickstart_tests/scripts/run_one_ks.sh
> index 9e86dfa..7def0ab 100755
> --- a/tests/kickstart_tests/scripts/run_one_ks.sh
> +++ b/tests/kickstart_tests/scripts/run_one_ks.sh
> @@ -95,7 +95,7 @@ runone() {
>      fi
>  
>      disks=$(prepare_disks ${tmpdir})
> -    disk_args=$(for d in $disks; do echo --disk $d; done)
> +    disk_args=$(for d in $disks; do echo --disk $d,cache=unsafe; done)
>  
>      echo "PYTHONPATH=$PYTHONPATH"
>      eval ${KSTESTDIR}/scripts/kstest-runner ${kargs} \
> -- 
> 2.4.3

Break Faster. Ack.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list