log_generator unauth tests incorrect

Bug #1653614 reported by Peter Stachowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Confirmed
Wishlist
Unassigned

Bug Description

The two log_generator tests 'test_log_generator_unauth_user' and 'test_log_generator_publish_unauth_user' are coded incorrectly. There is a raise inside of a try/except block, which will never propagate outside the test case.

See: https://github.com/openstack/trove/blob/master/trove/tests/scenario/runners/guest_log_runners.py#L358

Revision history for this message
Peter Stachowski (peterstac) wrote :

Even when changing the test to 'assertraises' it still fails, so something else must be going on ...

Amrith Kumar (amrith)
Changed in trove:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.