Skip to content

Commit

Permalink
[Quota][Pepper] Fix leak in QuotaReservationTest
Browse files Browse the repository at this point in the history
BUG=194304

Review URL: https://codereview.chromium.org/100813004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240135 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
tzik@chromium.org committed Dec 11, 2013
1 parent e10fd42 commit fbe3bef
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class QuotaReservationTest : public testing::Test {

virtual void TearDown() OVERRIDE {
reservation_manager_.reset();
base::RunLoop().RunUntilIdle();
}

base::FilePath MakeFilePath(base::FilePath::StringType file_name) {
Expand Down Expand Up @@ -144,7 +145,7 @@ void ReserveQuota(
// Tests that:
// 1) We can reserve quota with no files open.
// 2) Open a file, grow it, close it, and reserve quota with correct sizes.
TEST_F(QuotaReservationTest, DISABLED_ReserveQuota) {
TEST_F(QuotaReservationTest, ReserveQuota) {
GURL origin(kOrigin);
FileSystemType type = kType;

Expand Down Expand Up @@ -184,7 +185,7 @@ TEST_F(QuotaReservationTest, DISABLED_ReserveQuota) {

// Tests that:
// 1) We can open and close multiple files.
TEST_F(QuotaReservationTest, DISABLED_MultipleFiles) {
TEST_F(QuotaReservationTest, MultipleFiles) {
GURL origin(kOrigin);
FileSystemType type = kType;

Expand Down

0 comments on commit fbe3bef

Please sign in to comment.