Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UB-1408: fix idempotent issue#6 - dont raise error on detach in ubiquity server #231

Merged

Conversation

olgashtivelman
Copy link
Collaborator

@olgashtivelman olgashtivelman commented Aug 6, 2018

In the ubiquity server if the volume is already detached we will not fail the flow but succeed.


This change is Reviewable

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 57.268% when pulling 6070552 on fix/UB-1408_dont_send_detach_if_volume_already_detached into 7611848 on dev.

Copy link
Contributor

@shay-berman shay-berman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @olgashtivelman and @shay-berman)


local/scbe/scbe_test.go, line 501 at r1 (raw file):

			Expect(err).To(MatchError(fakeErr))
		})
		It("should fail to detach the volume if vol not exist in DB", func() {

please change the test description, because its should not fail.
make sure u cover it ok

Copy link
Contributor

@shay-berman shay-berman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @olgashtivelman)


local/scbe/scbe_test.go, line 501 at r1 (raw file):

Previously, shay-berman wrote…

please change the test description, because its should not fail.
make sure u cover it ok

After fixing that then its
:lgtm:

Copy link
Collaborator Author

@olgashtivelman olgashtivelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 2 files reviewed, 1 unresolved discussion (waiting on @shay-berman)


local/scbe/scbe_test.go, line 501 at r1 (raw file):

Previously, shay-berman wrote…

After fixing that then its
:lgtm:

Done.

@olgashtivelman olgashtivelman merged commit 5bd8ec0 into dev Aug 7, 2018
@olgashtivelman olgashtivelman deleted the fix/UB-1408_dont_send_detach_if_volume_already_detached branch August 7, 2018 13:15
@shay-berman shay-berman added the idempotency Improve Flex API idempotency aspects label Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idempotency Improve Flex API idempotency aspects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants