This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
TBR: remove the extra values which was overshadowing the test result #22483
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -164,9 +164,6 @@ class IntegrationTestsManager { | |
| e2eTestsToRun.add(basename); | ||
| } | ||
|
|
||
| int numberOfPassedTests = 0; | ||
| int numberOfFailedTests = 0; | ||
|
|
||
| final Set<String> buildModes = _getBuildModes(); | ||
|
|
||
| for (String fileName in e2eTestsToRun) { | ||
|
|
@@ -175,9 +172,9 @@ class IntegrationTestsManager { | |
|
|
||
| final int numberOfTestsRun = _numberOfPassedTests + _numberOfFailedTests; | ||
|
|
||
| print('INFO: ${numberOfTestsRun} tests run. ${numberOfPassedTests} passed ' | ||
| 'and ${numberOfFailedTests} failed.'); | ||
| return numberOfFailedTests == 0; | ||
| print('INFO: ${numberOfTestsRun} tests run. ${_numberOfPassedTests} passed ' | ||
| 'and ${_numberOfFailedTests} failed.'); | ||
| return _numberOfFailedTests == 0; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This LGTM as an emergency fix, but we also need a test that fails intentionally to verify that when we need to fail we do. We can borrow ideas from other tools that have failure tests:
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great, thanks! I was also thinking about it yesterday. I think that's a very important test case to have. |
||
| } | ||
|
|
||
| Future<void> _runTestsTarget( | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
can we limit this to canvaskit only ?
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.
thanks. I'll also discuss this as an option, tomorrow with @yjbanov. As we discussed offline the options we have:
Since tests are returning unreliable results now, I'd like to keep this till tomorrow.
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.
My guess is, because the tests have been silently failing, as we were upgrading CanvasKit to new versions and weren't updating the screenshots, they slowly deviated from the goldens. Updating the screenshots might do the trick.
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.
Could un-updated goldens be causing this LWE build failure?
https://ci.chromium.org/p/flutter/builders/try/Linux%20Web%20Engine/11833?
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8863763201792734000/+/steps/felt_test_chrome/0/stdout