зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1721797 - [geckodriver] Remove test root folder when AndroidHandler gets dropped. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D120614
This commit is contained in:
Родитель
3a5223c7a1
Коммит
2fab354277
|
@ -126,6 +126,11 @@ impl Drop for AndroidHandler {
|
|||
Err(e) => error!("Failed deleting GeckoView configuration file: {}", e),
|
||||
}
|
||||
|
||||
match self.process.device.remove(&self.test_root) {
|
||||
Ok(_) => debug!("Deleted test root folder: {}", &self.test_root.display()),
|
||||
Err(e) => error!("Failed deleting test root folder: {}", e),
|
||||
}
|
||||
|
||||
match self.process.device.kill_forward_port(self.host_port) {
|
||||
Ok(_) => debug!(
|
||||
"Android port forward ({} -> {}) stopped",
|
||||
|
|
Загрузка…
Ссылка в новой задаче