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

CASSANDRA-17828: Read/Write/Truncate throw RequestFailure in a race condition with callback timeouts, should return Timeout instead #200

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

dcapwell
Copy link
Contributor

No description provided.

…ondition with callback timeouts, should return Timeout instead
@@ -796,7 +796,7 @@ def test_truncate_failure(self):
thrown = True

assert thrown, "No exception has been thrown"
assert re.search("Truncate failed on replica /127.0.0.3", str(exception)) is not None
assert re.search("Truncate failed on replicas? /127.0.0.3", str(exception)) is not None
Copy link
Contributor Author

Choose a reason for hiding this comment

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

>>> import re
>>> re.search('Truncate failed on replica /127.0.0.3', 'Truncate failed on replica /127.0.0.3')
<re.Match object; span=(0, 37), match='Truncate failed on replica /127.0.0.3'>
>>> re.search('Truncate failed on replicas /127.0.0.3', 'Truncate failed on replica /127.0.0.3')
>>> re.search('Truncate failed on replicas? /127.0.0.3', 'Truncate failed on replica /127.0.0.3')
<re.Match object; span=(0, 37), match='Truncate failed on replica /127.0.0.3'>
>>> re.search('Truncate failed on replicas? /127.0.0.3', 'Truncate failed on replicas /127.0.0.3 UNKNOWN')
<re.Match object; span=(0, 38), match='Truncate failed on replicas /127.0.0.3'>

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

Successfully merging this pull request may close these issues.

1 participant