Skip TestPingCacheHeaders on API < v1.40

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 0e7b46aafe
commit d080a866cc
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")