An API error occurs when a test has '/' in its name at the test page

Bug #1563158 reported by Masayuki Igawa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Health
Fix Released
Undecided
Tim Buckley

Bug Description

An API error occurs[1] when a test has '/' in its name at the test page.

Tests -> Others -> solar/test/test_system_log_api.py::test_discard_all_pending_changes_resources_created

[1] http://status.openstack.org/openstack-health/#/test/solar~2Ftest~2Ftest_system_log_api.py::test_discard_all_pending_changes_resources_created?groupKey=project&resolutionKey=hour&end=2016-03-27T23:38:08.492Z

Changed in openstack-health:
assignee: nobody → Masayuki Igawa (igawa)
status: New → In Progress
Revision history for this message
Masayuki Igawa (igawa) wrote :
Changed in openstack-health:
assignee: Masayuki Igawa (igawa) → nobody
assignee: nobody → Tim Buckley (timothy-jas-buckley)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-health (master)

Reviewed: https://review.openstack.org/298501
Committed: https://git.openstack.org/cgit/openstack/openstack-health/commit/?id=01e93988a3cbc02f66ae39d1b07c02256734947c
Submitter: Jenkins
Branch: master

commit 01e93988a3cbc02f66ae39d1b07c02256734947c
Author: Tim Buckley <email address hidden>
Date: Mon Mar 28 20:49:12 2016 -0600

    Use path type instead of string for test_runs route

    Test names containing '/' characters currently raise 404 errors for
    the '/test_runs/` route because flask considers it a separate route.
    This changes the route parameter's type to 'path' to allow the '/'
    characters to be captured properly.

    Closes-Bug: #1563158
    Change-Id: I6425707775002b4794b16442b2380028e5a325cb

Changed in openstack-health:
status: In Progress → Fix Released
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.