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

clientv3/integration: add TestKVDelete* #4372

Merged
merged 1 commit into from
Feb 2, 2016
Merged

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Feb 1, 2016

/cc @xiang90 @heyitsanthony

Thanks!

if dresp.Header.Revision != tt.delRev {
t.Fatalf("#%d: dresp.Header.Revision got %d, want %d", i, dresp.Header.Revision, tt.delRev)
}
grespKey, err := kv.Get(tt.key, 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

we do not have to test get here. we should assume the server side do the current thing. but it does not hurt either.

Copy link
Contributor

Choose a reason for hiding this comment

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

probably we should just do a range and expect nothing in the range.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok will fix. Thanks.

@gyuho
Copy link
Contributor Author

gyuho commented Feb 2, 2016

@xiang90 Just addressed. PTAL.

Thanks,

@xiang90
Copy link
Contributor

xiang90 commented Feb 2, 2016

LGTM

@gyuho
Copy link
Contributor Author

gyuho commented Feb 2, 2016

Thanks!

gyuho added a commit that referenced this pull request Feb 2, 2016
clientv3/integration: add TestKVDelete*
@gyuho gyuho merged commit 87ed04e into etcd-io:master Feb 2, 2016
@gyuho gyuho deleted the kv_delete branch February 2, 2016 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants