mirror of
https://github.com/katanemo/plano.git
synced 2026-06-26 15:39:40 +02:00
fix int tests
This commit is contained in:
parent
0dc8585a6e
commit
fd39182841
1 changed files with 4 additions and 2 deletions
|
|
@ -81,10 +81,11 @@ fn normal_flow(module: &mut Tester, filter_context: i32, http_context: i32) {
|
||||||
(":path", "/function_calling"),
|
(":path", "/function_calling"),
|
||||||
("content-type", "application/json"),
|
("content-type", "application/json"),
|
||||||
(":authority", "model_server"),
|
(":authority", "model_server"),
|
||||||
|
("x-envoy-upstream-rq-timeout-ms", "30000"),
|
||||||
]),
|
]),
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
None,
|
Some(5000),
|
||||||
)
|
)
|
||||||
.returning(Some(1))
|
.returning(Some(1))
|
||||||
.expect_log(Some(LogLevel::Trace), None)
|
.expect_log(Some(LogLevel::Trace), None)
|
||||||
|
|
@ -387,10 +388,11 @@ fn prompt_gateway_request_to_llm_gateway() {
|
||||||
(":authority", "api_server"),
|
(":authority", "api_server"),
|
||||||
("x-envoy-max-retries", "3"),
|
("x-envoy-max-retries", "3"),
|
||||||
(":path", "/weather"),
|
(":path", "/weather"),
|
||||||
|
("x-envoy-upstream-rq-timeout-ms", "30000"),
|
||||||
]),
|
]),
|
||||||
Some(expected_body),
|
Some(expected_body),
|
||||||
None,
|
None,
|
||||||
None,
|
Some(5000),
|
||||||
)
|
)
|
||||||
.returning(Some(2))
|
.returning(Some(2))
|
||||||
.expect_metric_increment("active_http_calls", 1)
|
.expect_metric_increment("active_http_calls", 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue