1
0
mirror of https://github.com/ostreedev/ostree.git synced 2025-03-23 10:50:31 +03:00

tests: Disable itest-pull.sh since it is too slow

Hopefully we'll fix this soon.

Closes: 
Approved by: cgwalters
This commit is contained in:
Colin Walters 2018-04-20 14:17:20 -04:00 committed by Atomic Bot
parent 76f3e603f9
commit d4282720c7

@ -4,6 +4,9 @@
set -xeuo pipefail
# FIXME: https://github.com/ostreedev/ostree/pull/1548
exit 0
dn=$(dirname $0)
. ${dn}/../libinsttest.sh
date
@ -37,11 +40,13 @@ echo "ok pull"
for d in $(find bare-repo/objects/ -maxdepth 1 -type d); do
(find ${d} -name '*.file' || true) | head -20 | xargs rm -f
done
date
if ostree --repo=bare-repo fsck |& tee fsck.txt; then
fatal "fsck unexpectedly succeeded"
fi
date
assert_streq $(grep -cE -e 'Marking commit as partial' fsck.txt) "1"
ostree --repo=bare-repo pull origin ${host_nonremoteref}
log_timestamps ostree --repo=bare-repo pull origin ${host_nonremoteref}
# Don't need a full fsck here
ostree --repo=bare-repo ls origin:${host_nonremoteref} >/dev/null