From Fedora Project Wiki

Revision as of 19:29, 1 December 2015 by Juliuxpigface (talk | contribs)

Note.png
Associated release criterion
This test case is associated with the Fedora_40_Final_Release_Criteria#update-notification release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.

Description

This test case tests whether a graphical desktop notifies the user of available package updates.


How to test

  1. Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available (or you can downgrade a package after installation).
  2. Log into a graphical desktop.
  3. Wait and see whether the system checks for updates, notifies you of their availability, and offers to install them. The time before the first notification appears varies, and can be up to an hour or more: you may want to leave the test system sitting for a while and do something else, or run some other tests while waiting for the notification. For GNOME, see the tip below to reduce the wait time.
Idea.png
Tip for shortening the waiting time to the updates notification on GNOME
On the GNOME desktop, you can run the following commands to shorten the waiting time:
$ gsettings set org.gnome.software check-timestamp $(date '+%s' --date='18:00 2 days ago')
$ gsettings set org.gnome.software install-timestamp $(date '+%s' --date='08:00 8 days ago')
$ sudo touch --no-create --date='08:00 8 days ago' /var/lib/PackageKit/offline-update-competed
You should reboot or log out and back in after changing these settings. The notification should now appear within ten minutes, but it's best to give it a bit longer to be sure. Use the command pkmon to monitor what's going on in the background (e.g. downloading updates -- the notification is shown only after all updates have been downloaded).

Expected Results

  1. The desktop should notify you that updates are available and provide an obvious action to install them.