Skip to content

Commit

Permalink
apt_messages.feature: the wait should be after apt-update and before …
Browse files Browse the repository at this point in the history
…apt-ugprade
  • Loading branch information
panlinux committed Nov 28, 2023
1 parent 0a845b5 commit daf7647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/apt_messages.feature
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ Feature: APT Messages
When I run `rm -rf /var/lib/ubuntu-advantage/messages` with sudo
When I run `rm /var/lib/apt/periodic/update-success-stamp` with sudo
When I run `apt-get update` with sudo
When I run `apt upgrade` with sudo
# the apt-news.service unit runs in the background, give it some time to fetch the json file
When I wait `5` seconds
When I run `apt upgrade` with sudo
Then I will see the following on stdout
"""
Reading package lists...
Expand Down Expand Up @@ -569,9 +569,9 @@ Feature: APT Messages
# test that apt update will trigger hook to update apt_news for local override
When I run `rm -f /var/lib/apt/periodic/update-success-stamp` with sudo
When I run `apt-get update` with sudo
When I run `apt upgrade` with sudo
# the apt-news.service unit runs in the background, give it some time to fetch the json file
When I wait `5` seconds
When I run `apt upgrade` with sudo
Then I will see the following on stdout
"""
Reading package lists...
Expand Down

0 comments on commit daf7647

Please sign in to comment.