File tree Expand file tree Collapse file tree
acceptance/openstack/identity/v3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ func TestLimitsList(t *testing.T) {
4242}
4343
4444func 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
You can’t perform that action at this time.
0 commit comments