Skip to content

Commit d7de413

Browse files
committed
misc
1 parent 49cdfd3 commit d7de413

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.devops/nix/python-scripts.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let
3434

3535
# server tests
3636
openai
37-
behave
37+
pytest
3838
prometheus-client
3939
];
4040
in

examples/server/tests/README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
# Server tests
22

3-
Python based server tests scenario using [BDD](https://en.wikipedia.org/wiki/Behavior-driven_development)
4-
and [behave](https://behave.readthedocs.io/en/latest/):
5-
6-
* [issues.feature](./features/issues.feature) Pending issues scenario
7-
* [parallel.feature](./features/parallel.feature) Scenario involving multi slots and concurrent requests
8-
* [security.feature](./features/security.feature) Security, CORS and API Key
9-
* [server.feature](./features/server.feature) Server base scenario: completion, embedding, tokenization, etc...
3+
Python based server tests scenario using [pytest](https://docs.pytest.org/en/stable/).
104

115
Tests target GitHub workflows job runners with 4 vCPU.
126

13-
Requests are
14-
using [aiohttp](https://docs.aiohttp.org/en/stable/client_reference.html), [asyncio](https://docs.python.org/fr/3/library/asyncio.html)
15-
based http client.
16-
177
Note: If the host architecture inference speed is faster than GitHub runners one, parallel scenario may randomly fail.
188
To mitigate it, you can increase values in `n_predict`, `kv_size`.
199

0 commit comments

Comments
 (0)