Skip to content

Commit bd43d06

Browse files
committed
test: depsolve blueprint on setup
This should cache the rpm metadata, speeding up the tests.
1 parent 74a16fd commit bd43d06

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: test/verify/composerlib.py

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def setUp(self):
4646
done
4747
""")
4848

49+
# depsolve one of the blueprints so the repo metadata is cached, this speeds up the tests
50+
self.machine.execute("""
51+
composer-cli blueprints depsolve httpd-server
52+
""", timeout=900)
53+
4954
# delete all blueprints
5055
self.addCleanup(self.machine.execute,
5156
"for bp in $(composer-cli blueprints list); "

0 commit comments

Comments
 (0)