Skip to content

Block Storage v1: Allow 202 when creating volumes#1720

Merged
jtopjian merged 1 commit intogophercloud:masterfrom
jtopjian:bsv1-create-202
Sep 30, 2019
Merged

Block Storage v1: Allow 202 when creating volumes#1720
jtopjian merged 1 commit intogophercloud:masterfrom
jtopjian:bsv1-create-202

Conversation

@jtopjian
Copy link
Copy Markdown
Contributor

For #1718

--- FAIL: TestVolumesCreateDestroy (1.18s)
    blockstorage.go:54: Attempting to create volume: ACPTTESTdQOwXTKgIkUMe1iK
    volumes_test.go:43: Unable to create volume: Expected HTTP response code [200 201] when accessing [POST http://10.1.2.177/volume/v3/5bfa04f074684d73b714df219457f327/volumes], but got 202 instead

Given this is for Block Storage v1, this is more of a legacy patch. I didn't do too much digging into the Cinder code to validate this change, but the acceptance tests can reproduce it, so that's probably good enough for this one.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+2.09%) to 79.748% when pulling dd2418e on jtopjian:bsv1-create-202 into 13466e3 on gophercloud:master.

@coveralls
Copy link
Copy Markdown

coveralls commented Sep 30, 2019

Coverage Status

Coverage remained the same at 77.654% when pulling dd2418e on jtopjian:bsv1-create-202 into 13466e3 on gophercloud:master.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Sep 30, 2019

Build succeeded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants