You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/06/12 15:16:34 UTC

(tooling-trusted-releases) branch sbp updated: Fix a problem with loading in the vote serials test

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/sbp by this push:
     new ace09153 Fix a problem with loading in the vote serials test
ace09153 is described below

commit ace0915380a6543926f78bceb7382af710b07c79
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Fri Jun 12 15:20:41 2026 +0100

    Fix a problem with loading in the vote serials test
---
 tests/unit/test_vote_serials.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/unit/test_vote_serials.py b/tests/unit/test_vote_serials.py
index f5ef8a5a..2f5267aa 100644
--- a/tests/unit/test_vote_serials.py
+++ b/tests/unit/test_vote_serials.py
@@ -377,7 +377,12 @@ async def test_podling_second_round_rolls_back_with_task_creation(sqlite_session
                     new_vote_resolved=None,
                     new_podling_thread_id="thread",
                 )
-                await data.refresh(release_model)
+                release_model = await data.release(
+                    key="project-1.0.0",
+                    _project=True,
+                    _committee=True,
+                    _project_release_policy=True,
+                ).demand(RuntimeError("release missing"))
                 task = await writer.start(
                     email_to=util.INCUBATOR_GENERAL_ADDRESS,
                     permitted_recipients=[util.INCUBATOR_GENERAL_ADDRESS],


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org