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

Drop assertion that no view build has been resumed as this may happen… #247

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions materialized_views_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1124,10 +1124,10 @@ def test_interrupt_build_process(self):
self.cluster.stop()

logger.debug("Checking logs to verify that the view build tasks have been created")
marks = {}
for node in self.cluster.nodelist():
assert node.grep_log('Starting new view build', filename='debug.log')
assert not node.grep_log('Resuming view build', filename='debug.log')
node.mark_log(filename='debug.log')
marks[node] = node.mark_log(filename='debug.log')

logger.debug("Restart the cluster")
self.cluster.start()
Expand All @@ -1152,7 +1152,7 @@ def test_interrupt_build_process(self):

logger.debug("Checking logs to verify that some view build tasks have been resumed")
for node in self.cluster.nodelist():
assert node.grep_log('Resuming view build', filename='debug.log')
assert node.grep_log('Resuming view build', filename='debug.log', from_mark=marks[node])

@pytest.mark.skip(reason="Frequently fails in CI. Skipping until fixed as tracked by CASSANDRA-14148")
@since('4.0')
Expand Down