Skip to content

Commit

Permalink
Merge pull request juju#11150 from manadart/2.7-controller-integratio…
Browse files Browse the repository at this point in the history
…n-test

juju#11150

## Description of change

Fixes controller integration test to look in the standard Systemd search path for the juju-db service instead of the old /lib/systemd... path.

## QA steps

- `cd tests`
- `./main.sh controller`

## Documentation changes

None.

## Bug reference

N/A
  • Loading branch information
jujubot authored Jan 24, 2020
2 parents e04f31b + 54017c4 commit 7a38d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/suites/controller/mongo_memory_profile.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cat_mongo_service() {
# shellcheck disable=SC2046
echo $(juju run -m controller --machine 0 'cat /lib/systemd/system/juju-db/juju-db.service' | grep "^ExecStart")
echo $(juju run -m controller --machine 0 'cat /etc/systemd/system/juju-db.service' | grep "^ExecStart")
}

run_mongo_memory_profile() {
Expand Down

0 comments on commit 7a38d09

Please sign in to comment.