Guestagent Unit tests

Bug #1090139 reported by Steve Leon on 2012-12-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Anna Shen

Bug Description

This bug is to track all unit tests for the guest agent

Steve Leon (steve-leon) on 2012-12-13
Changed in reddwarf:
assignee: nobody → Steve Leon (steve-leon)
assignee: Steve Leon (steve-leon) → Anna Shen (ruiyuan-shen)

Reviewed: https://review.openstack.org/18089
Committed: http://github.com/stackforge/reddwarf/commit/732f4102b3f5139742ccbb0ac78aac848ce5af74
Submitter: Jenkins
Branch: master

commit 732f4102b3f5139742ccbb0ac78aac848ce5af74
Author: Steve Leon <email address hidden>
Date: Thu Dec 13 13:29:19 2012 -0800

    Adding some dbaas.py unittests

    The tests added are createDB, deleteDB and deleteUser

    tracked in Bug #1090139

    Change-Id: I811a85bfe37ec4282864ec81328dc40c9b15f4ef

Changed in reddwarf:
status: New → Fix Committed
Changed in reddwarf:
milestone: none → grizzly-2
importance: Undecided → High

Reviewed: https://review.openstack.org/18352
Committed: http://github.com/stackforge/reddwarf/commit/45ae411d98ed8f0598f2830a57f154446305aa4a
Submitter: Jenkins
Branch: master

commit 45ae411d98ed8f0598f2830a57f154446305aa4a
Author: Anna Shen <email address hidden>
Date: Tue Dec 18 15:11:16 2012 -0800

    - switch to testtools
    - remove pep8 warnings
    - more unit tests for dbaas.py, covers create_user, enable_root
    - refactoring

    Bug # 1090139
    BP/guestagent-unit-test-coverage

    Change-Id: I06f7fcdbcfbeec03dea6c06e83b86797db481489

Fix proposed to branch: master
Review: https://review.openstack.org/18856

Reviewed: https://review.openstack.org/18856
Committed: http://github.com/stackforge/reddwarf/commit/fc12c6f0df4703339dbd0b8a92bcc484e9f8ff12
Submitter: Jenkins
Branch: master

commit fc12c6f0df4703339dbd0b8a92bcc484e9f8ff12
Author: Anna Shen <email address hidden>
Date: Wed Jan 2 14:04:26 2013 -0800

    Add unit test for guestagent.service.py and query.py

    Bug # 1090139

    Change-Id: Ib6ddf1f1823ccec348cf552daaee0c127940aa29

Reviewed: https://review.openstack.org/18501
Committed: http://github.com/stackforge/reddwarf/commit/b1f061b2e82f930d8c918229931161c570626e03
Submitter: Jenkins
Branch: master

commit b1f061b2e82f930d8c918229931161c570626e03
Author: Steve Leon <email address hidden>
Date: Thu Dec 20 11:14:35 2012 -0800

    Adding guest agent pkg unit tests and running them with testr

    Added unit tests for reddwarf.guestagent.pkg module.
    Added tests for package install, remove and version
    Changing the test runner of unittests to be run by testr instead of probocis/nose
    Remove probocis reference from the dbaas test
    Moved dbaas.py to reddwarf/tests/unittests

    tracked by bug #1090139

    Change-Id: Ia25fbe996d04d39e83edef0369de0e7fccce579e

Reviewed: https://review.openstack.org/19255
Committed: http://github.com/stackforge/reddwarf/commit/2e346c4dee8e36dba7031db8f83aad420557d1cb
Submitter: Jenkins
Branch: master

commit 2e346c4dee8e36dba7031db8f83aad420557d1cb
Author: ruiyuan-shen <email address hidden>
Date: Tue Jan 8 14:22:35 2013 -0800

    Add unit tests for guestagent.models.py
    Delete guestagent.utils.py since it is no longer invoked anywhere.

    Bug # 1090139

    Change-Id: Iad3fad6f2b5bdb813b499dc8ce7181e6f8fb0231

Fix proposed to branch: master
Review: https://review.openstack.org/19762

Fix proposed to branch: master
Review: https://review.openstack.org/19773

Fix proposed to branch: master
Review: https://review.openstack.org/19994

Reviewed: https://review.openstack.org/19728
Committed: http://github.com/stackforge/reddwarf/commit/49bf82184360d27c79f2eee183240a911723a74c
Submitter: Jenkins
Branch: master

commit 49bf82184360d27c79f2eee183240a911723a74c
Author: ruiyuan-shen <email address hidden>
Date: Tue Jan 15 11:26:42 2013 -0800

    Add unit tests for guestagent.volume.py

    - more clean up on test_manager.py
    - Migrate guestagent tests to unittest folder
    - modify guestagent.manager.py so it recognize '_'

    Bug # 1090139

    Change-Id: I718a5212cd07c8bdb4e71796ba384574ce8275e9

Reviewed: https://review.openstack.org/19762
Committed: http://github.com/stackforge/reddwarf/commit/b9b081e101a661ef0aa62c9d5fc5ea73a8a3ae44
Submitter: Jenkins
Branch: master

commit b9b081e101a661ef0aa62c9d5fc5ea73a8a3ae44
Author: ruiyuan-shen <email address hidden>
Date: Tue Jan 15 16:14:26 2013 -0800

    Add unit tests for guestagent.api.py

    - delete_queue cannot be found anywhere, so no unit test for it at this point.

    Bug# 1090139

    Change-Id: I9971dda92de093a516541dd8fd8341f7627083c4

Reviewed: https://review.openstack.org/19994
Committed: http://github.com/stackforge/reddwarf/commit/35ba74bf5e3cbbe829c7aaec823cfa3f2afefd3a
Submitter: Jenkins
Branch: master

commit 35ba74bf5e3cbbe829c7aaec823cfa3f2afefd3a
Author: ruiyuan-shen <email address hidden>
Date: Thu Jan 17 17:58:32 2013 -0800

    Add unit tests for guestagent.db.models.py

    - skip most of the getters and setters
    - more clean up in test_dbaas.py

    Bug # 1090139

    Change-Id: I3562c6dcecef98d0290c06853cb00332082ca40c

Reviewed: https://review.openstack.org/19773
Committed: http://github.com/stackforge/reddwarf/commit/a6dd4bd6cee70fd8a7fc09112d4680f96508881e
Submitter: Jenkins
Branch: master

commit a6dd4bd6cee70fd8a7fc09112d4680f96508881e
Author: Steve Leon <email address hidden>
Date: Tue Jan 15 18:06:14 2013 -0800

    Add more unittests to guest agent

    Adding more tests to the dbaas.py class.

    Deleted some unused imports from dbaas.py class

    Deleted unused method restart_with_sync

    Bug# 1090139

    Change-Id: I97b67815c8e31c2f95b6070a1ddde18b93a5a6c0

Thierry Carrez (ttx) on 2013-07-17
Changed in trove:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers