Skip to content

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

Open
@HongtaoYang

Description

@HongtaoYang

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions