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

Question on tests "Receive handshake (2/2)" #269

Open
HongtaoYang opened this issue Oct 23, 2024 · 1 comment
Open

Question on tests "Receive handshake (2/2)" #269

HongtaoYang opened this issue Oct 23, 2024 · 1 comment

Comments

@HongtaoYang
Copy link

HongtaoYang commented Oct 23, 2024

When I run the test, this stage will fail about half the time at random.

After enabling debug mode, I saw this message:

[tester::#ZN8] [handshake] replica: Received bytes: "+FULLRESYNC 6zhEkGRqJSXte731000wMocCPVY-vf731wgEkaBO 0\r\n"                    │
[tester::#ZN8] [handshake] replica: Received RESP simple string: "FULLRESYNC 6zhEkGRqJSXte731000wMocCPVY-vf731wgEkaBO 0"            │
[tester::#ZN8] Expected "FULLRESYNC 6zhEkGRqJSXte731000wMocCPVY-vf731wgEkaBO 0" to match the pattern "FULLRESYNC \\w+ 0".           │
[tester::#ZN8] Test failed 

Based on this debug info, it seems that the tests failed because there is a "-" in the id. Should we allow "-" or "_" in the id? Or is the id strictly alphanumeric?

Copy link

linear bot commented Oct 23, 2024

@HongtaoYang HongtaoYang changed the title Unstable tests on "Receive handshake (2/2)" Question on tests "Receive handshake (2/2)" Oct 23, 2024
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