Hitachi: test script fails unexpectedly

Bug #2063317 reported by Atsushi Kawai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Unassigned

Bug Description

[Overview]
Hitachi Cinder driver submits a REST API frequently to avoid a session timeout by a REST API server. When running test scripts for the driver, especially by ``nosetests`` command with multiple test scripts, it is some possibility of failing some test case by an unexpected response from a pseudo REST API server in the scripts because a resource of the server may be spent by the frequently REST API requests.

The scripts have codes to stop frequently REST API requests, but one of the code does not work because wrong variable name is used.

[Customer impact by the bug]
Non, because it is only issued when running test scripts

[which codes should be fixed]
--- in test_do_setup() ---
# wrong
self.driver.common.client.keep_session_loop.stop()

# correct
drv.common.client.keep_session_loop.stop()

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/916724

Changed in cinder:
status: New → In Progress
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.