-
Notifications
You must be signed in to change notification settings - Fork 81
Run webdev tests in a copy of the sdk directory #1987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run webdev tests in a copy of the sdk directory #1987
Conversation
@@ -37,17 +33,6 @@ Future<String> waitForAppId(TestProcess webdev) async { | |||
return appId; | |||
} | |||
|
|||
Future<String> prepareWorkspace() async { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember adding this recently to fix some of the flakes we were hitting for our CI tests on Windows. Is this now done elsewhre?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I see where it has been moved to, nevermind!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it just moved to the test_utils inside TestRunner
class, as I needed to run it using correct dart
path from the sdk layout.
Test-only changes
Run webdev tests in a copy of the sdk. This change is a part of moving all of our tests to run in an sdk copy.
runWebdev
andprepareWorkspace
into atestRunner
class that can create and dispose of the sdk copy.testRunner
.Towards: #1985
Related: #1878