Skip to content

Commit

Permalink
Merge pull request ostreedev#2106 from jlebon/pr/fix-admin-test
Browse files Browse the repository at this point in the history
tests/admin-test: Ensure that commits are 1s apart
  • Loading branch information
openshift-merge-robot authored May 20, 2020
2 parents 6586d24 + 70ebb91 commit be62a01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/admin-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ echo "ok no duplicate version strings in title"

# Test upgrade with and without --override-commit
# See https://github.com/GNOME/ostree/pull/147
sleep 1
os_repository_new_commit
${CMD_PREFIX} ostree pull --repo=sysroot/ostree/repo --commit-metadata-only --depth=-1 testos:testos/buildmaster/x86_64-runtime
head_rev=$(${CMD_PREFIX} ostree rev-parse --repo=sysroot/ostree/repo testos/buildmaster/x86_64-runtime)
prev_rev=$(${CMD_PREFIX} ostree rev-parse --repo=sysroot/ostree/repo testos/buildmaster/x86_64-runtime^^^^)
Expand Down

0 comments on commit be62a01

Please sign in to comment.