mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-25 05:54:53 +00:00
test(perf): stop flagging load-balanced worker reads as restarts in database upgrade test (#47425)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
48763ccb50
commit
24d92f77d5
1 changed files with 3 additions and 3 deletions
|
|
@ -55,9 +55,9 @@ def test_database_upgrade(proxy: ProxyClient, idp: Keycloak, resources: Resource
|
|||
monitor.assert_complete(state)
|
||||
assert_finished(connection, state)
|
||||
rss_after: Final = read_rss_everywhere(proxy)
|
||||
assert {r.worker for r in rss_before.readings} == {r.worker for r in rss_after.readings}, (
|
||||
"Gateway workers restarted"
|
||||
)
|
||||
assert {(r.replica, r.hostname) for r in rss_before.readings} == {
|
||||
(r.replica, r.hostname) for r in rss_after.readings
|
||||
}, "Gateway pods replaced during the upgrade"
|
||||
observed: Final = Observation(
|
||||
records=outcome.records,
|
||||
mock_requests=tuple(seen for url in urls for seen in read_mock_requests(url)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue