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

Go/jbrinkman randomize cluster ports #3225

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

jbrinkman
Copy link
Collaborator

Issue link

This Pull Request is linked to issue (#3224)

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • CHANGELOG.md and documentation files are updated.
  • Destination branch is correct - main or release
  • Create merge commit if merging release branch into main, squash otherwise.

@Yury-Fridlyand Yury-Fridlyand added go golang wrapper testing Everything about testing labels Feb 21, 2025
@yipin-chen
Copy link
Collaborator

Your CI is red. Please don't forget to update CHANGELOG.

@jbrinkman jbrinkman force-pushed the go/jbrinkman-randomize-cluster-ports branch from ebb16b5 to be68ac2 Compare February 27, 2025 22:39
Signed-off-by: jbrinkman <[email protected]>
Signed-off-by: jbrinkman <[email protected]>

_, err = client.CustomCommand([]string{"FLUSHALL"}) // todo: replace with client.FlushAll() when implemented
// Flush the database before each test to ensure a clean state.
_, err := clusterClient.CustomCommand([]string{"FLUSHALL"}) // todo: replace with client.FlushAll() when implemented
Copy link
Collaborator

Choose a reason for hiding this comment

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

consider adding all primaries route

| tee >(go tool test2json -t -p github.com/valkey-io/valkey-glide/go/api \
| go-test-report -o reports/example-tests.html -t example-test > /dev/null)
| go-test-report -o reports/example-tests.html -t example-test > /dev/null)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to stop server on failure

Comment on lines +615 to +616
// LCS is only available in 7.0 and above. It will fail in any release < 7.0
// 8.0 Output: h o
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe

Suggested change
// LCS is only available in 7.0 and above. It will fail in any release < 7.0
// 8.0 Output: h o
// LCS is only available in 7.0 and above. It will fail in any server < 7.0
// Output: h o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go golang wrapper testing Everything about testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants