Comment 2 for bug 1219950

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

Reviewed: https://review.openstack.org/44973
Committed: http://github.com/openstack/cinder/commit/f0ab7be7c304dad9d925dbc6a82c67ec5bbfc1da
Submitter: Jenkins
Branch: master

commit f0ab7be7c304dad9d925dbc6a82c67ec5bbfc1da
Author: John Griffith <email address hidden>
Date: Tue Sep 3 22:33:24 2013 +0000

    Use tempfile and cleanup in windows unit test

    The unit test test_windows was setting and creating
    a directory c://iSCSIVirtualDisks in the root path
    and even worse wasn't deleting it on cleanup.

    This patch converts that to use tempfile and also
    adds an shutil.rmtree to the teardown method to clean
    up all the junk it creates.

    Fixes bug: 1219950

    Change-Id: Ibd071c9c3ae9a02f26c85a09e8bc6619d8c73a37