Some unit tests fail if run in Mac

Bug #1309256 reported by Steve Leon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Low
Steve Leon

Bug Description

There is a test failing if i run it in a Macbook.

The test is write_to_fstab in trove/tests/unittests/guestagent/test_volume.py.

test_write_to_fstab fails because there is no /etc/fstab file in my mac.

Revision history for this message
Dan Nguyen (daniel-a-nguyen) wrote :

nice find. thx for fixing.

Changed in trove:
status: New → Triaged
importance: Undecided → Low
milestone: none → juno-1
assignee: nobody → Steve Leon (steve-leon)
Changed in trove:
status: Triaged → In Progress
Steve Leon (steve-leon)
description: updated
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/88464
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=39b3618981091fc6115f7354fbb4d299fdfd05ae
Submitter: Jenkins
Branch: master

commit 39b3618981091fc6115f7354fbb4d299fdfd05ae
Author: Steve Leon <email address hidden>
Date: Thu Apr 17 16:26:52 2014 -0700

    Mocks out file.open to not rely on OS dependent files

    Change-Id: I5afc83afd2aa2d7c0dbe98b545fe1b9f90308429
    Closes-Bug: #1309256

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: juno-1 → 2014.2
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.