Skip to content
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 instance tests with frontend server #2160

Merged

Conversation

annagrin
Copy link
Contributor

@annagrin annagrin commented Jun 26, 2023

We were running instance_test.dart only with build daemon compilation.
Running instance tests with frontend server required specifying the basePath via the asset reader. (Previous automatic basePath discovery was not correct for the instance tests).

In this PR:

  • remove automatic discovery of basePath in dev_handler.dart.
  • require AssetReader to provide a base path
  • manually verified that flutter tools work with the changes in dwds.
  • updated major version due to the dwds API change.

Closes: #2158

Copy link
Contributor

@elliette elliette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion but LGTM!

@annagrin annagrin requested a review from elliette June 28, 2023 20:27
Copy link
Contributor

@elliette elliette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approved!

@annagrin annagrin merged commit cbb0d76 into dart-lang:master Jul 5, 2023
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run instance_test.dart with frontend server
2 participants