lp://staging/~canonical-platform-qa/ubuntu-ota-tests/check-for-running-service

Created by Christopher Lee and last modified
Get this branch:
bzr branch lp://staging/~canonical-platform-qa/ubuntu-ota-tests/check-for-running-service
Members of Canonical Platform QA Team can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Canonical Platform QA Team
Project:
ubuntu-ota-tests
Status:
Merged

Recent revisions

12. By Leo Arias

Use the test command.

11. By Leo Arias

Fixed the order of dependencies.

10. By Leo Arias

Reorg to bootstrap the selftests.

9. By Christopher Lee

Rename loop method

8. By Christopher Lee

Use global for process name

7. By Christopher Lee

Add timed check to ensure process has actually stopped, adds depends on autopilot though.

6. By Christopher Lee

Tidy up use of list comprehension.

5. By Christopher Lee

Now checking if process running before attempting Exit() call.

4. By Christopher Lee

Simplest method, no precheck just catch exception if it's not running (well, Exit called a 2nd time.)

3. By Christopher Lee

Simple example for self.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/ubuntu-ota-tests
This branch contains Public information 
Everyone can see this information.