Merge pull request #22499 from jtattermusch/portability_last_x86_fix

fix ssl_transport_security_test timeout on x86 portability suite
pull/22507/head
Jan Tattermusch 5 years ago committed by GitHub
commit e1ff06310c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      test/core/tsi/ssl_transport_security_test.cc

@ -659,10 +659,12 @@ void ssl_tsi_test_do_round_trip_for_all_configs() {
void ssl_tsi_test_do_round_trip_odd_buffer_size() {
gpr_log(GPR_INFO, "ssl_tsi_test_do_round_trip_odd_buffer_size");
#ifndef MEMORY_SANITIZER
#if !defined(MEMORY_SANITIZER) && !defined(GPR_ARCH_32)
const size_t odd_sizes[] = {1025, 2051, 4103, 8207, 16409};
#else
// avoid test being extremely slow under MSAN
// 1. avoid test being extremely slow under MSAN
// 2. on 32-bit, the test is much slower (probably due to lack of boringssl
// asm optimizations) so we only run a subset of tests to avoid timeout
const size_t odd_sizes[] = {1025};
#endif
const size_t size = sizeof(odd_sizes) / sizeof(size_t);

Loading…
Cancel
Save