зеркало из https://github.com/mozilla/pjs.git
Bug 658916 - TEST-UNEXPECTED-FAIL | test_0182_rmrfdirFileInUse_xp_win_complete.js | test failed (with xpcshell return code: 0), see following log:TEST-UNEXPECTED-FAIL | head.js | exception thrown from do_timeout callback. r=mossop
This commit is contained in:
Родитель
2c02fcfa39
Коммит
4a28d92390
|
@ -486,10 +486,27 @@ function waitForHelperFinished() {
|
|||
do_timeout(TEST_HELPER_TIMEOUT, waitForHelperFinished);
|
||||
return;
|
||||
}
|
||||
output.remove(false);
|
||||
let input = getApplyDirFile("a/b/input", true);
|
||||
if (input.exists()) {
|
||||
input.remove(false);
|
||||
// Give the lock file process time to unlock the file before deleting the
|
||||
// input and output files.
|
||||
do_timeout(TEST_HELPER_TIMEOUT, waitForHelperFinishFileUnlock);
|
||||
}
|
||||
|
||||
function waitForHelperFinishFileUnlock() {
|
||||
try {
|
||||
let output = getApplyDirFile("a/b/output", true);
|
||||
if (output.exists()) {
|
||||
output.remove(false);
|
||||
}
|
||||
let input = getApplyDirFile("a/b/input", true);
|
||||
if (input.exists()) {
|
||||
input.remove(false);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
// Give the lock file process time to unlock the file before deleting the
|
||||
// input and output files.
|
||||
do_timeout(TEST_HELPER_TIMEOUT, waitForHelperFinishFileUnlock);
|
||||
return;
|
||||
}
|
||||
do_timeout(TEST_HELPER_TIMEOUT, checkUpdate);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче