← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~bjornt/maas-ci/+git/maas-ci-internal:pytest-no-external-db into ~maas-committers/maas-ci/+git/maas-ci-internal:main

 

Björn Tillenius has proposed merging ~bjornt/maas-ci/+git/maas-ci-internal:pytest-no-external-db into ~maas-committers/maas-ci/+git/maas-ci-internal:main.

Commit message:
Allow is-maas-fast-yet work with pytest that imports DB internally.

The change is not landed in MAAS master yet, but this change works
with both current master and with the proposed change to import
the DB internally.

In the future we can change this job to not import the DB at all
for MAAS master.



Requested reviews:
  MAAS Committers (maas-committers)

For more details, see:
https://code.launchpad.net/~bjornt/maas-ci/+git/maas-ci-internal/+merge/433713
-- 
Your team MAAS Committers is requested to review the proposed merge of ~bjornt/maas-ci/+git/maas-ci-internal:pytest-no-external-db into ~maas-committers/maas-ci/+git/maas-ci-internal:main.
diff --git a/jobs/is-maas-fast-yet.groovy b/jobs/is-maas-fast-yet.groovy
index b0783d5..3478d88 100644
--- a/jobs/is-maas-fast-yet.groovy
+++ b/jobs/is-maas-fast-yet.groovy
@@ -83,7 +83,7 @@ pipeline {
                 }
                 lock(resource: "performance-tests") {
                     sh '''
-                    sudo -E -H -u ubuntu checkout/utilities/run-perf-tests-ci
+                    sudo -E -H -u ubuntu checkout/utilities/run-perf-tests-ci ${DBDUMP}
                     '''
 		}
                 archiveArtifacts allowEmptyArchive: true, artifacts: "checkout/junit*.xml, sampledata/*.dump, checkout/{{ result_file }}"

Follow ups