Skip TestPingCacheHeaders on API < v1.40

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit d080a866cc)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-04-19 19:38:05 +02:00
parent 545bc6b4d8
commit cedf201aef
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -12,6 +12,7 @@ import (
)
func TestPingCacheHeaders(t *testing.T) {
skip.If(t, versions.LessThan(testEnv.DaemonAPIVersion(), "1.40"), "skip test from new feature")
defer setupTest(t)()
res, _, err := request.Get("/_ping")