tests: Disable itest-pull.sh since it is too slow
Hopefully we'll fix this soon. Closes: #1548 Approved by: cgwalters
This commit is contained in:
parent
76f3e603f9
commit
d4282720c7
|
|
@ -4,6 +4,9 @@
|
||||||
|
|
||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
|
# FIXME: https://github.com/ostreedev/ostree/pull/1548
|
||||||
|
exit 0
|
||||||
|
|
||||||
dn=$(dirname $0)
|
dn=$(dirname $0)
|
||||||
. ${dn}/../libinsttest.sh
|
. ${dn}/../libinsttest.sh
|
||||||
date
|
date
|
||||||
|
|
@ -37,11 +40,13 @@ echo "ok pull"
|
||||||
for d in $(find bare-repo/objects/ -maxdepth 1 -type d); do
|
for d in $(find bare-repo/objects/ -maxdepth 1 -type d); do
|
||||||
(find ${d} -name '*.file' || true) | head -20 | xargs rm -f
|
(find ${d} -name '*.file' || true) | head -20 | xargs rm -f
|
||||||
done
|
done
|
||||||
|
date
|
||||||
if ostree --repo=bare-repo fsck |& tee fsck.txt; then
|
if ostree --repo=bare-repo fsck |& tee fsck.txt; then
|
||||||
fatal "fsck unexpectedly succeeded"
|
fatal "fsck unexpectedly succeeded"
|
||||||
fi
|
fi
|
||||||
|
date
|
||||||
assert_streq $(grep -cE -e 'Marking commit as partial' fsck.txt) "1"
|
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
|
# Don't need a full fsck here
|
||||||
ostree --repo=bare-repo ls origin:${host_nonremoteref} >/dev/null
|
ostree --repo=bare-repo ls origin:${host_nonremoteref} >/dev/null
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue