Skip to content

Conversation

@github-actions
Copy link

This test was previously creating and running 40 tasks, when all we actually
need to do is to put the DB in the state we expect (RTIF rows exist) and then
run one task. This takes the test time form 31s down to 4s.

This was tested that it still correctly tests the correct behaviour by
removing the session.flush() that was added in the same change where this
test was added, #42928 / ced319f.
(cherry picked from commit 5a411d7)

Co-authored-by: Ash Berlin-Taylor ash@apache.org

…4542)

This test was previously creating and running 40 tasks, when all we actually
need to do is to put the DB in the state we expect (RTIF rows exist) and then
run one task. This takes the test time form 31s down to 4s.

This was tested that it still correctly tests the correct behaviour by
removing the `session.flush()` that was added in the same change where this
test was added, #42928 / ced319f.
(cherry picked from commit 5a411d7)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
@kaxil kaxil marked this pull request as ready for review August 15, 2025 12:17
@ashb ashb merged commit b94c799 into v3-0-test Aug 15, 2025
48 checks passed
@ashb ashb deleted the backport-5a411d7-v3-0-test branch August 15, 2025 13:07
kaxil pushed a commit that referenced this pull request Aug 18, 2025
…4542) (#54546)

This test was previously creating and running 40 tasks, when all we actually
need to do is to put the DB in the state we expect (RTIF rows exist) and then
run one task. This takes the test time form 31s down to 4s.

This was tested that it still correctly tests the correct behaviour by
removing the `session.flush()` that was added in the same change where this
test was added, #42928 / ced319f.
(cherry picked from commit 5a411d7)

Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
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.

2 participants