[Gravity] [Tests] Fixed test "testPutFileContentWithNonExistantFile"

Review Request #193 — Created Oct. 23, 2013 and submitted

andrea
Lunr
master
lunr
This test was failing consistently after the first time if ran on the same machine. This is due to the fact that a file is being created in the test, but never deleted, leading to permission error when trying to override.
Unit tests.
  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
andrea
pprkut
  1. 
      
  2. If this doesn't return an object, it throws an exception in which case you need to also expect the logger call.
    1. Ok, I noticed in the get_file_object method that it returns FALSE if that exception is caught, hence the fix. Checking also the logger call cannot hurt of course, so.. fixed in next review.
  3. 
      
andrea
pprkut
  1. Ship It!
  2. 
      
andrea
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master
Loading...