Skip to content

Commit

Permalink
Merge pull request openstack-charmers#563 from freyes/fix-func-test/w…
Browse files Browse the repository at this point in the history
…allaby

Fix functional testing - wallaby
  • Loading branch information
ajkavanagh authored Aug 24, 2022
2 parents f607cbe + bc0c597 commit b209722
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
sudo chmod 666 /var/snap/lxd/common/lxd/unix.socket
# until Juju provides stable IPv6-support we unfortunately need this
lxc network set lxdbr0 ipv6.address none
# pull images
lxc image copy --alias juju/bionic/amd64 --copy-aliases ubuntu-daily:bionic local:
lxc image copy --alias juju/focal/amd64 --copy-aliases ubuntu-daily:focal local:
lxc image copy --alias juju/jammy/amd64 --copy-aliases ubuntu-daily:jammy local:
lxc image list
juju bootstrap --no-gui localhost
- name: Functional test
run: |
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

version = "0.0.1.dev1"
install_require = [
'aiohttp<4.0.0', # aiohttp/_http_parser.c:16227:5: error: lvalue required as increment operand
'oslo.config<6.12.0', # pin at stable/train to retain Py3.5 support
'async_generator',

Expand Down
13 changes: 8 additions & 5 deletions tests/bundles/first.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
series: focal
applications:
magpie-xenial:
series: xenial
charm: cs:~openstack-charmers-next/magpie
magpie-focal:
series: focal
charm: ch:magpie
channel: latest/edge
num_units: 2
magpie-bionic:
series: bionic
charm: cs:~openstack-charmers-next/magpie
charm: ch:magpie
channel: latest/edge
num_units: 2
ubuntu:
charm: cs:ubuntu
charm: ch:ubuntu
num_units: 3
6 changes: 4 additions & 2 deletions tests/bundles/second.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
series: focal
applications:
magpie-focal:
series: focal
charm: cs:~openstack-charmers-next/magpie
charm: ch:magpie
channel: latest/edge
num_units: 2
ubuntu:
charm: cs:ubuntu
charm: ch:ubuntu
num_units: 3
3 changes: 2 additions & 1 deletion tests/bundles/third.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
series: focal
applications:
ubuntu:
charm: cs:ubuntu
charm: ch:ubuntu
num_units: 10

6 changes: 3 additions & 3 deletions tests/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ gate_bundles:
- second
- third
target_deploy_status:
magpie-xenial:
workload-status: active
workload-status-message-prefix: icmp ok, local hostname ok
magpie-bionic:
workload-status: active
workload-status-message-prefix: icmp ok, local hostname ok
Expand All @@ -21,6 +18,9 @@ target_deploy_status:
workload-status-message-prefix: icmp ok, local hostname ok
ubuntu:
workload-status-message-regex: "^$"
ntp:
workload-status: active
workload-status-message-prefix: 'chrony: Ready'
configure:
- zaza.charm_tests.noop.setup.basic_setup
tests:
Expand Down

0 comments on commit b209722

Please sign in to comment.