boringssl/ssl/test
David Benjamin 95695c8d88 runner: Ignore dtlsFlushHandshake failures.
This is consistent with ignoring writeRecord failures. Without doing this, the
DTLS MinimumVersion test now flakily fails with:

  FAILED (MinimumVersion-Client-TLS12-TLS1-DTLS)
  bad error (wanted ':UNSUPPORTED_PROTOCOL:' / 'remote error: protocol version not supported'): local error 'write unix @: broken pipe', child error 'exit status 2', stdout:
  2092242157:error:1007b1a7:SSL routines:ssl3_get_server_hello:UNSUPPORTED_PROTOCOL:../ssl/s3_clnt.c:783:

This is because the MinimumVersion tests assert on /both/ expectedError and
expectedLocalError. The latter is valuable as it asserts on the alert the peer
returned. (I would like us to add more such assertions to our tests where
appropriate.) However, after we send ServerHello, we also send a few messages
following it. This races with the peer shutdown and we sometimes get EPIPE
before reading the alert.

Change-Id: I3fe37940a6a531379673a00976035f8e76e0f825
Reviewed-on: https://boringssl-review.googlesource.com/3337
Reviewed-by: Adam Langley <agl@google.com>
2015-02-09 20:01:41 +00:00
..
runner runner: Ignore dtlsFlushHandshake failures. 2015-02-09 20:01:41 +00:00
async_bio.cc Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
async_bio.h
bssl_shim.cc Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00
CMakeLists.txt Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
malloc.cc aarch64 support. 2015-01-14 23:38:11 +00:00
packeted_bio.cc Add DTLS timeout and retransmit tests. 2015-02-03 00:40:58 +00:00
packeted_bio.h Add DTLS timeout and retransmit tests. 2015-02-03 00:40:58 +00:00
test_config.cc Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00
test_config.h Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00