Skip to content

Commit

Permalink
tests: add base attach scenario on cli attach
Browse files Browse the repository at this point in the history
We are adding the base scenario that covers that once
we run pro attach in a VM, we end up with the esm services
and livepatch enabled
  • Loading branch information
lucasmoura committed Aug 27, 2024
1 parent 7435191 commit 59f79d6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions features/cli/attach.feature
Original file line number Diff line number Diff line change
Expand Up @@ -394,3 +394,18 @@ Feature: CLI attach command
| jammy | lxd-container |
| mantic | lxd-container |
| noble | lxd-container |

Scenario Outline: Attach operation on a lxd vm
Given a `<release>` `<machine_type>` machine with ubuntu-advantage-tools installed
When I attach `contract_token` with sudo
Then I verify that `esm-apps` is enabled
And I verify that `esm-infra` is enabled
And I verify that `livepatch` status is `<livepatch_status>`

Examples: ubuntu release
| release | machine_type | livepatch_status |
| xenial | lxd-vm | warning |
| bionic | lxd-vm | enabled |
| focal | lxd-vm | enabled |
| jammy | lxd-vm | enabled |
| noble | lxd-vm | enabled |

0 comments on commit 59f79d6

Please sign in to comment.