Commit 2133991
authored
[path_provider] De-flake getExternalStorageDirectories test (flutter#5628)
Fixes the flaky path provider test.
Directories.listSync will sometimes not return the files in the directory (as discussed in flutter#139378), but the files are there and (after letting it loop for quite a while and comparing to current flake) they always appear in the output of `Process.runSync('ls', ...)`.1 parent b08f915 commit 2133991
2 files changed
Lines changed: 12 additions & 2 deletions
File tree
- packages/path_provider
- path_provider_android/example/integration_test
- path_provider/example/integration_test
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
121 | 128 | | |
122 | 129 | | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
0 commit comments