Browse Source
/api/agentInfos?agentIds=... is served by a derived JPA 'id IN (...)' query with no ORDER BY, so PostgreSQL may return rows in any order (e.g. physical tuple order after an UPDATE). The test asserted infos.get(0) == first and infos.get(1) == second, and failed whenever the rows came back reversed. Match the returned infos by id instead.pull/16347/head
1 changed files with 10 additions and 3 deletions
Loading…
Reference in new issue