You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Five Data REST tests boot an embedded server the MockMvc suites already cover #316
They assert HAL status and JSON. Sibling *DataRestTest classes already observe that contract with MockMvc on the shared MOCK context. Login goes through TestUtils.adminAuthHeaders (admin_access_token and X-SITMUN-Client).
Why this is not a test-only edit
Replacing RestTemplate with MockMvc is a route decision. The cookie login may not be what the MockMvc Data REST tests send. UserResourceIntegrationTest create-and-delete also overlaps UserResourceTest. Keep the 404-after-delete check on one surface. That overlap is #313.
Done when
One HTTP entry point covers each of these contracts, and the embedded server is gone unless a test needs a real port.
A later H2 run the same day, 08:04:19Z to 08:06:49Z, measured a 1.53s gap before DatabaseConnectionRepositoryIntegrationTest and 1.289s of method time for its three tests. The issue's 4.40s gap is from the earlier run. The five RANDOM_PORT classes are unchanged.
The working tree deletes @DisabledputCanUpdateCartographySpatialSelectionConnection. That method did not run, so removing it does not remove the port. TestUtils.adminAuthHeaders and the sibling MockMvc overlap, including #313, still stand.
Activity
fjlopez commentedon Oct 21, 2026
A later H2 run the same day, 08:04:19Z to 08:06:49Z, measured a 1.53s gap before
DatabaseConnectionRepositoryIntegrationTestand 1.289s of method time for its three tests. The issue's 4.40s gap is from the earlier run. The fiveRANDOM_PORTclasses are unchanged.The working tree deletes
@DisabledputCanUpdateCartographySpatialSelectionConnection. That method did not run, so removing it does not remove the port.TestUtils.adminAuthHeadersand the sibling MockMvc overlap, including #313, still stand.fjlopez commentedon Oct 21, 2026
Fixed on dev by #349.