fix: Clear semantic instances for TV3 migration tests
commitb3070d8a10c463022f6c70e3db0f248fecabe58d
authorJoris Masson <joris.masson@enalean.com>
Fri, 17 May 2024 15:11:45 +0000 (17 17:11 +0200)
committerJoris Masson <joris.masson@enalean.com>
Fri, 17 May 2024 15:13:14 +0000 (17 17:13 +0200)
tree78611a1b18f441a45d77994f874421ad67e570eb
parente0b67a4e33071f946859ad61f65afe632e456eb1
fix: Clear semantic instances for TV3 migration tests

part of request #37944 Flaky TV3 migration tests

No functional change.

$ make tests-db SEED=1715949306

The command above should succeed.

Why?
Title, status and contributor are being asserted on, but they have
caches on tracker ID. If a previous test created a tracker with the same
ID, and loaded its title (status, etc.), then the TV3 tests will re-load
the same title and fail the assertions.

Change-Id: I14fe9f190dbc5de023986fef47886377d11fa4e5
tests/integration/tests/TrackersV3ToV5/DefectTrackerTest.php
tests/integration/tests/TrackersV3ToV5/TaskTrackerTest.php