Skip to content

Commit

Permalink
e2e: add missing TTL test
Browse files Browse the repository at this point in the history
  • Loading branch information
hexfusion committed Mar 19, 2018
1 parent fbaa5a3 commit 2611b93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e/v3_curl_lease_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ func testV3CurlLeaseTTL(cx ctlCtx) {
value: gwLeaseTTLWithKeys(cx, leaseID),
expected: `"grantedTTL"`,
},
{
endpoint: "/kv/lease/timetolive",
value: gwLeaseTTL(cx, leaseID),
expected: `"grantedTTL"`,
},
}
if err := cURLWithExpected(cx, tests); err != nil {
cx.t.Fatalf("testV3CurlLeaseTTL: %v", err)
Expand Down

0 comments on commit 2611b93

Please sign in to comment.