Skip to content

Commit a1fdec1

Browse files
committed
verified correct llm response
1 parent a90ec68 commit a1fdec1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/e2e/features/tls.feature

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Feature: TLS configuration for remote inference providers
1818
{"query": "Say hello", "model": "mock-tls-model", "provider": "tls-openai"}
1919
"""
2020
Then The status code of the response is 200
21+
And The body of the response contains Hello from the TLS mock inference server
2122

2223
Scenario: Inference succeeds with CA certificate verification
2324
Given Llama Stack is configured with CA certificate verification
@@ -28,6 +29,7 @@ Feature: TLS configuration for remote inference providers
2829
{"query": "Say hello", "model": "mock-tls-model", "provider": "tls-openai"}
2930
"""
3031
Then The status code of the response is 200
32+
And The body of the response contains Hello from the TLS mock inference server
3133

3234
Scenario: Inference fails when TLS verify is true against self-signed cert
3335
Given Llama Stack is configured with TLS verification enabled
@@ -38,6 +40,7 @@ Feature: TLS configuration for remote inference providers
3840
{"query": "Say hello", "model": "mock-tls-model", "provider": "tls-openai"}
3941
"""
4042
Then The status code of the response is 500
43+
And The body of the response does not contain Hello from the TLS mock inference server
4144

4245
Scenario: Inference succeeds with mutual TLS authentication
4346
Given Llama Stack is configured with mutual TLS authentication
@@ -48,6 +51,7 @@ Feature: TLS configuration for remote inference providers
4851
{"query": "Say hello", "model": "mock-tls-model", "provider": "tls-openai"}
4952
"""
5053
Then The status code of the response is 200
54+
And The body of the response contains Hello from the TLS mock inference server
5155

5256
Scenario: Inference succeeds with TLS minimum version TLSv1.3
5357
Given Llama Stack is configured with TLS minimum version "TLSv1.3"
@@ -58,3 +62,4 @@ Feature: TLS configuration for remote inference providers
5862
{"query": "Say hello", "model": "mock-tls-model", "provider": "tls-openai"}
5963
"""
6064
Then The status code of the response is 200
65+
And The body of the response contains Hello from the TLS mock inference server

0 commit comments

Comments
 (0)