sts-sponsors team mailing list archive
-
sts-sponsors team
-
Mailing list archive
-
Message #04703
[Merge] ~bjornt/maas:perf-test-always-run into maas:master
Björn Tillenius has proposed merging ~bjornt/maas:perf-test-always-run into maas:master.
Commit message:
Run the performance tests together with the normal pytest tests.
They are quick to run with an empty database, and by running them
CI will ensure that they don't break.
Also change run-perf-tests-ci to not hide the output, to make
it easier to debug failures.
Requested reviews:
MAAS Maintainers (maas-maintainers)
For more details, see:
https://code.launchpad.net/~bjornt/maas/+git/maas/+merge/436124
--
Your team MAAS Maintainers is requested to review the proposed merge of ~bjornt/maas:perf-test-always-run into maas:master.
diff --git a/pyproject.toml b/pyproject.toml
index edf51b0..c2d17f5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,6 +40,7 @@ testpaths = [
"src/apiclient",
"src/maascli",
"src/maastesting",
+ "src/maasperf",
# [[[cog
# import cog
# from pathlib import Path
diff --git a/utilities/run-perf-tests-ci b/utilities/run-perf-tests-ci
index b5162ba..f8f84c1 100755
--- a/utilities/run-perf-tests-ci
+++ b/utilities/run-perf-tests-ci
@@ -29,11 +29,7 @@ echo "MAAS_RAND_SEED=${MAAS_RAND_SEED}"
echo "PYTHONHASHSEED=${PYTHONHASHSEED}"
bin/pytest \
- -q \
- --disable-warnings \
- --show-capture=no \
- --no-header \
- --no-summary \
+ -v \
--junit-xml=junit-perf.xml \
--maas-recreate-initial-db \
--maas-initial-db "${DB_DUMP}" \
Follow ups