A framework for building native applications using React
Increase image loading timeout in iOS sync image manager for jeste2e (#54514)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54514 Changelog: [Internal] The current 2-second timeout in `RCTSyncImageManager` is insufficient for image loading operations in test environments, causing spurious timeout errors. This increases the timeout to 5 seconds to provide more headroom for image loading operations to complete successfully. The timeout is specifically for synchronous image loading in test scenarios where images need to be fully loaded before proceeding. With the current 2-second limit, images that take slightly longer to load (due to network latency, image size, or system load) fail with "Image timed out in test environment" errors even though the loading would eventually succeed. Increasing to 5 seconds: - Reduces flakiness in tests that depend on image loading - Still maintains a reasonable upper bound to catch actual issues - Aligns better with real-world image loading times in test infrastructure Example of isses https://fb.workplace.com/groups/jeste2e/permalink/3821119858179498/ example of flaky test due to timeout https://www.internalfb.com/intern/test/281475220305258?ref_report_id=0 Reviewed By: sammy-SC Differential Revision: D86862358 fbshipit-source-id: 77e30bdee88f590a0edba90c19f6b5505ab03283
V
Vitaly Potyakov committed
d013bb5f7f8f42f7658594d9e0435a3584388001
Parent: 9c7bf2c
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 11/12/2025, 3:59:13 PM