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

Failed to run testAtomicPutWithSlashSuffixKey testing #48

Open
bailantaotao opened this issue Dec 13, 2017 · 0 comments
Open

Failed to run testAtomicPutWithSlashSuffixKey testing #48

bailantaotao opened this issue Dec 13, 2017 · 0 comments

Comments

@bailantaotao
Copy link

hi,

I executes the testAtomicPutWithSlashSuffixKey testing in REDIS and get errors:"Previous K/V pair exists, cannot complete Atomic operation"

The full message as below:

go test -v github.com/docker/libkv/store/redis -run ^TestRedisStore$
	Error Trace:	utils.go:293
			utils.go:33
			redis_test.go:47
	Error:		Expected nil, but got: &errors.errorString{s:"Previous K/V pair exists, cannot complete Atomic operation"}
		
	Error Trace:	utils.go:294
			utils.go:33
			redis_test.go:47
	Error:		Should be true
		
exit status 1
FAIL	github.com/docker/libkv/store/redis	0.036s

but the key testAtomicPutWithSlashSuffixKey/key/ is not found in REDIS.

127.0.0.1:6379> get testAtomicPutWithSlashSuffixKey/key/
(nil)

Do you have any comments?

golang: 1.9
branch: master
REDIS version: 4.0.2
docker (client and server): 17.09.1-ce

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

No branches or pull requests

1 participant