Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR #15706: Fix sporadic failure of test in PJRT C API tests
Imported from GitHub PR #15706 This test would fail sometimes because the creation of the buffer would not complete before the transfer would start. This would mean that the final buffer had `{0,0,0,0}` instead of the expected `{41,42,43,44}`. Waiting for the creation of this buffer should solve this. Copybara import of the project: -- fc51fa8 by Shraiysh Vaishay <[email protected]>: Fix sporadic failure of test in PJRT C API tests This test would fail sometimes because the creation of the buffer would not complete before the transfer would start. This would mean that the final buffer had `{0,0,0,0}` instead of the expected `{41,42,43,44}`. Waiting for the creation of this buffer should solve this. Merging this change closes #15706 COPYBARA_INTEGRATE_REVIEW=#15706 from shraiysh:fix_pjrt_test_failure fc51fa8 PiperOrigin-RevId: 659488482
- Loading branch information