Merge pull request #24672 from yulin-liang/flaky-cronet-test

Fix flaky ios-cpp-test-cronet test.
reviewable/pr24618/r8
yulin liang 4 years ago committed by GitHub
commit 850f0c7c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      test/cpp/ios/Podfile

@ -55,6 +55,14 @@ pre_install do |installer|
'USE_HEADERMAP' => 'NO',
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
}
# This is the RemoteTestCpp podspec object.
remote_test_cpp_spec = installer.pod_targets.find{|t| t.name.start_with?('RemoteTestCpp')}.root_spec
# ios-cpp-test-cronet failes by chance because the RemoteTestCpp target cannot find Protobuf-C++.
remote_test_cpp_spec.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '"$(inherited)" "$(PODS_ROOT)/header/Public/Protobuf-C++"',
}
end
post_install do |installer|

Loading…
Cancel
Save