Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Issue 230073002: Files.app: Reland r261616: Add a test to rename a file. (Closed)

Created:
6 years, 8 months ago by hirono
Modified:
6 years, 8 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Files.app: Reland r261616: Add a test to rename a file. Previous patch was reverted because of flakiness. The main reason of the flakiness is a race like followings: 1. After renaming, Files.app commit the new file name previsionally. 2. Test regards as the rename was done and starts the next rename. 3. Previous rename was actually done in a file system and the file list is updated. It cancels the second rename. This patches add a marker for previsionally commitment, and let the test wait until the marker is removed. Previously reverted CL: crrev.com/221673002 BUG=345062 TEST=run the test. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262912

Patch Set 1 #

Total comments: 20

Patch Set 2 : Fixed. #

Patch Set 3 : Fixed. #

Patch Set 4 : Fix a test. #

Messages

Total messages: 13 (0 generated)
hirono
PTAL the CL? Thanks!
6 years, 8 months ago (2014-04-09 03:13:09 UTC) #1
mtomasz
https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/background.js File chrome/test/data/extensions/api_test/file_manager_browsertest/background.js (right): https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/background.js#newcode343 chrome/test/data/extensions/api_test/file_manager_browsertest/background.js:343: * Sends fake key down event. nit: fake -> ...
6 years, 8 months ago (2014-04-09 03:38:54 UTC) #2
mtomasz
https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js File chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js (right): https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js#newcode207 chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js:207: // Wait until rename completes. On 2014/04/09 03:38:54, mtomasz ...
6 years, 8 months ago (2014-04-09 03:42:14 UTC) #3
hirono
Thanks! https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/background.js File chrome/test/data/extensions/api_test/file_manager_browsertest/background.js (right): https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/background.js#newcode343 chrome/test/data/extensions/api_test/file_manager_browsertest/background.js:343: * Sends fake key down event. On 2014/04/09 ...
6 years, 8 months ago (2014-04-09 20:01:12 UTC) #4
mtomasz
lgtm with one nit! https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js File chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js (right): https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js#newcode137 chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js:137: }).then(chrome.test.callbackPass(function() { On 2014/04/09 20:01:13, ...
6 years, 8 months ago (2014-04-09 21:15:19 UTC) #5
hirono
Thanks! https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js File chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js (right): https://codereview.chromium.org/230073002/diff/1/chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js#newcode137 chrome/test/data/extensions/api_test/file_manager_browsertest/keyboard_operations.js:137: }).then(chrome.test.callbackPass(function() { On 2014/04/09 21:15:19, mtomasz wrote: > ...
6 years, 8 months ago (2014-04-09 21:37:05 UTC) #6
hirono
The CQ bit was checked by hirono@chromium.org
6 years, 8 months ago (2014-04-09 21:37:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/230073002/60001
6 years, 8 months ago (2014-04-09 21:38:57 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-09 22:43:35 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-09 22:43:35 UTC) #10
hirono
The CQ bit was checked by hirono@chromium.org
6 years, 8 months ago (2014-04-10 00:04:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/230073002/80001
6 years, 8 months ago (2014-04-10 00:05:14 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 04:43:28 UTC) #13
Message was sent while issue was closed.
Change committed as 262912

Powered by Google App Engine
This is Rietveld 408576698