Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
a561722b
Unverified
Commit
a561722b
authored
Apr 12, 2018
by
Devon Carew
Committed by
GitHub
Apr 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a test flake on appveyor (#16479)
* fix a test flake on appveyor * only catch FileSystemExceptions
parent
910417cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
analyze_once_test.dart
packages/flutter_tools/test/commands/analyze_once_test.dart
+6
-1
create_test.dart
packages/flutter_tools/test/commands/create_test.dart
+6
-1
upgrade_test.dart
packages/flutter_tools/test/commands/upgrade_test.dart
+0
-1
No files found.
packages/flutter_tools/test/commands/analyze_once_test.dart
View file @
a561722b
...
...
@@ -33,7 +33,12 @@ void main() {
});
tearDownAll
(()
{
tempDir
?.
deleteSync
(
recursive:
true
);
try
{
tempDir
?.
deleteSync
(
recursive:
true
);
}
on
FileSystemException
catch
(
e
)
{
// ignore errors deleting the temporary directory
print
(
'Ignored exception during tearDown:
$e
'
);
}
});
// Create a project to be analyzed
...
...
packages/flutter_tools/test/commands/create_test.dart
View file @
a561722b
...
...
@@ -42,7 +42,12 @@ void main() {
});
tearDown
(()
{
temp
.
deleteSync
(
recursive:
true
);
try
{
temp
.
deleteSync
(
recursive:
true
);
}
on
FileSystemException
catch
(
e
)
{
// ignore errors deleting the temporary directory
print
(
'Ignored exception during tearDown:
$e
'
);
}
});
// Verify that we create a project that is well-formed.
...
...
packages/flutter_tools/test/commands/upgrade_test.dart
View file @
a561722b
...
...
@@ -46,7 +46,6 @@ void main() {
temp
.
deleteSync
(
recursive:
true
);
});
testUsingContext
(
'in project'
,
()
async
{
final
String
projectPath
=
await
createProject
(
temp
);
expect
(
findProjectRoot
(
projectPath
),
projectPath
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment