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

fix: add rename go test #2468

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

Mixficsol
Copy link
Collaborator

fix: #2046

@github-actions github-actions bot added ☢️ Bug Something isn't working ✏️ Feature New feature or request 🧹 Updates This will not be worked on labels Mar 7, 2024
@Mixficsol Mixficsol added test 3.5.3 and removed ☢️ Bug Something isn't working ✏️ Feature New feature or request labels Mar 7, 2024
@github-actions github-actions bot added ☢️ Bug Something isn't working ✏️ Feature New feature or request labels Mar 7, 2024
@Mixficsol Mixficsol removed ✏️ Feature New feature or request ☢️ Bug Something isn't working labels Mar 7, 2024
n, err := client.Exists(ctx, "key").Result()
Expect(err).NotTo(HaveOccurred())
Expect(n).To(Equal(int64(0)))
r = client.Do(ctx, "flushdb")
Copy link
Collaborator

Choose a reason for hiding this comment

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

如果执行 flushdb,那应该返回错误,因为你把 flushdb 命令重命名了?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

返回错误和结果不是OK是不是逻辑一样,NotTo(Equal("OK"))

@luky116 luky116 merged commit 0c60f33 into OpenAtomFoundation:unstable Mar 11, 2024
14 checks passed
luky116 pushed a commit to luky116/pika that referenced this pull request Mar 14, 2024
luky116 pushed a commit to luky116/pika that referenced this pull request Mar 14, 2024
@Mixficsol Mixficsol deleted the Rename-Go-Test branch March 14, 2024 12:15
luky116 pushed a commit that referenced this pull request Mar 18, 2024
add rename-command go test
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.5.3 test 🧹 Updates This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pika 的 TCL 测试完善计划
2 participants