Repository navigation
test: expect the re-vendored revision's activation event in the server restart journey - #5779
Merged
Merged
Conversation
…r restart journey #5716 made a page read that activates a new revision append an `activation` event naming its bundle. Re-vendoring a served page onto a new layer is such a revision, so the replacement server's first read now writes one after the comment it took. The journey still expected the log to hold only the note and the comment, and it runs only nightly, so #5716's own CI never ran it. The journey now expects that activation for revision 2, and still checks that the retried comment was not taken twice. Refs #4225
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #5716,
test_init_restarts_a_served_page_onto_the_replacement_contractfails in both of its cases ([session]and[persistent]) on Linux and macOS. In scheduled run 42604289041 it failed withassert ['note', 'comment', 'activation'] == ['note', 'comment'].#5716 added the
activationevent, which a page read appends when it activates a revision that no reply or note names. Re-vendoring a served page onto a new layer makes such a revision, so the replacement server's first read writes one. #5716 updated the model test for the same case (test_revendoring_serializes_with_a_worker_report_entering_the_logexpects["report", "activation"]). It missed this journey, which runs only nightly. The journey now expects the activation for revision 2, after the one comment. It still checks that the retried comment wasn't taken twice. The test's coverage of the restart itself is unchanged: the URL, lifetime, claim and revision contract carry over.Both cases fail on main
28c3b37f3with--run-nightlyand pass with this change.Refs #4225 — automated triage