File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ # 0.0.8
2+ - Allow tests to override LegacyFlutterDestination GCP project id.
3+
14# 0.0.7
25- Expose constants that were missing since 0.0.4+1.
36
Original file line number Diff line number Diff line change @@ -42,9 +42,15 @@ class FlutterDestination extends MetricDestination {
4242 {bool isTesting = false }) async {
4343 // Specify the project id for LegacyFlutterDestination as we may get a
4444 // service account json from another GCP project.
45+ //
46+ // When we're testing, let projectId be null so we'll still use the test
47+ // project specified by the credentials json.
48+ //
49+ // This is completed, but fortunately we'll be able to remove all this
50+ // once the migration is fully done.
4551 final LegacyFlutterDestination legacyDestination =
4652 await LegacyFlutterDestination .makeFromCredentialsJson (json,
47- projectId: 'flutter-cirrus' );
53+ projectId: isTesting ? null : 'flutter-cirrus' );
4854 final SkiaPerfDestination skiaPerfDestination =
4955 await SkiaPerfDestination .makeFromGcpCredentials (json,
5056 isTesting: isTesting);
You can’t perform that action at this time.
0 commit comments