flutter/packages/flutter_tools/test/general.shard/ios
Victoria Ashworth ec0b7443c4
Fix log filtering and CI tests for iOS 17 physical devices (#132491)
Fixes a couple of issues introduced in new iOS 17 physical device tooling: https://github.com/flutter/flutter/pull/131865.

1) Duplicate messages were being filtered out too aggressively. 

For example, if on the counter app, you printed "Increment!" on button click, it would only print once no matter how many times you clicked.

Sometimes more than one log source is used at a time and the original intention was to filter duplicates between two log sources, so it wouldn't print the same message from both logs. However, it would also filter when the same message was added more than once via the same log.

The new solution distinguishes a "primary" and a "fallback" log source and prefers to use the primary source unless it's not working, in which it'll use the fallback. If the fallback is faster than the primary, the primary will exclude the logs received by the fallback in a 1-to-1 fashion to prevent too-aggressive filtering. Once a flutter-message has been received by the primary source, fallback messages will be ignored.

Note: iOS < 17 did not regress.

2) There was a race condition between the shutdown hooks and exiting XcodeDebug that was causing a crash when deleting a file that doesn't exist. This only affects CI  - for the new integration tests and when testing with iOS 17 physical devices.
2023-08-14 17:30:55 +00:00
..
code_signing_test.dart Change some required nullable parameters in tool to non-null (#114115) 2022-11-04 17:36:01 +00:00
core_devices_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
devices_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
ios_deploy_test.dart Add debugging for iOS startup test flakes (#130099) 2023-07-07 16:49:00 +00:00
ios_device_install_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
ios_device_logger_test.dart Fix log filtering and CI tests for iOS 17 physical devices (#132491) 2023-08-14 17:30:55 +00:00
ios_device_port_forwarder_test.dart [tool] Consistent FakeProcessManager.run/runSync (#103947) 2022-05-17 11:15:54 -07:00
ios_device_project_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
ios_device_start_nonprebuilt_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
ios_device_start_prebuilt_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
ios_project_migration_test.dart Migrate Xcode projects last version checks to Xcode 14.3 (#125827) 2023-05-02 00:06:33 +00:00
ios_workflow_test.dart Only show iOS simulators, reduce output spew in verbose (#108345) 2022-07-26 19:08:06 +00:00
mac_test.dart Reland "Print pretty error when xcodebuild fails due to missing simulator #130286" (#130506) 2023-07-13 19:36:10 +00:00
simulators_test.dart Check for simulator runtime in flutter doctor (#131795) 2023-08-04 17:14:06 +00:00
xcode_debug_test.dart Fix log filtering and CI tests for iOS 17 physical devices (#132491) 2023-08-14 17:30:55 +00:00
xcodeproj_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
xcresult_test_data.dart Reland "Print pretty error when xcodebuild fails due to missing simulator #130286" (#130506) 2023-07-13 19:36:10 +00:00
xcresult_test.dart Reland "Print pretty error when xcodebuild fails due to missing simulator #130286" (#130506) 2023-07-13 19:36:10 +00:00