Skip to content

Commit a50a6e5

Browse files
Skip below xena and add explanation
1 parent 9fc81fd commit a50a6e5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

acceptance/openstack/identity/v3/limits_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ func TestLimitsList(t *testing.T) {
4242
}
4343

4444
func TestCreateLimits(t *testing.T) {
45+
// TODO: After https://github.com/gophercloud/gophercloud/issues/2290 is implemented
46+
// use registered limits API to create global registered limit and then overwrite it with limit.
47+
// Current solution (using glance limit) only works with Openstack Xena and above.
48+
clients.SkipReleasesBelow(t, "stable/xena")
49+
4550
err := os.Setenv("OS_SYSTEM_SCOPE", "all")
4651
th.AssertNoErr(t, err)
4752
defer os.Unsetenv("OS_SYSTEM_SCOPE")
@@ -59,7 +64,6 @@ func TestCreateLimits(t *testing.T) {
5964
th.AssertNoErr(t, err)
6065

6166
// Find image service (glance on Devstack) which has precreated registered limits.
62-
// TODO: Use registered limits API to create global limit and then overwrite it with limit.
6367
allPages, err := services.List(client, nil).AllPages()
6468
th.AssertNoErr(t, err)
6569

0 commit comments

Comments
 (0)