# HG changeset patch # User Sergey Kandaurov # Date 1511870154 -10800 # Node ID 86e6287707eeb5cd2a8efc171376fdfcd0a50bb2 # Parent 93453d7858ce85c9033f7659bbfd09c6c3e7497f 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. diff --git a/h2_proxy_cache.t b/h2_proxy_cache.t --- a/h2_proxy_cache.t +++ b/h2_proxy_cache.t @@ -157,6 +157,9 @@ push @$frames, $_ for @{$s->read(all => 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 @@ ok(!grep ({ $_->{type} eq "DATA" } @$fra $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();