Mercurial > hg > nginx-tests
changeset 1253:86e6287707ee
Tests: skip "no headers" test in h2_proxy_cache.t on win32.
Small limit rate doesn't work on this platform which breaks test preconditions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 28 Nov 2017 14:55:54 +0300 |
parents | 93453d7858ce |
children | 6fff42643fd7 |
files | h2_proxy_cache.t |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/h2_proxy_cache.t Tue Nov 28 14:48:59 2017 +0300 +++ b/h2_proxy_cache.t Tue Nov 28 14:55:54 2017 +0300 @@ -157,6 +157,9 @@ ok(!grep ({ $_->{type} eq "DATA" } @$frames), 'proxy cache HEAD buffering off - no body'); +SKIP: { +skip 'win32', 1 if $^O eq 'MSWin32'; + # client cancels stream with a cacheable request that was sent to upstream # HEADERS should not be produced for the canceled stream @@ -168,6 +171,8 @@ $frames = $s->read(all => [{ sid => $sid, fin => 0x4 }], wait => 1.2); ok(!(grep { $_->{type} eq "HEADERS" } @$frames), 'no headers'); +} + # client closes connection after sending a cacheable request producing alert $s = Test::Nginx::HTTP2->new();