Skip to content

Commit c319757

Browse files
author
Radovan Fuchs
committed
fix comments
1 parent da9416d commit c319757

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

tests/e2e/features/unified-mode-migration.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ Feature: Legacy to unified configuration migration
1717
Scenario: migrate then synthesize round-trips to the original run.yaml
1818
When lightspeed-stack --migrate-config is run for the legacy migration fixture pair
1919
And the active unified configuration is synthesized to run.yaml
20-
Then the synthesized run.yaml is byte-identical to the legacy migration fixture run.yaml
20+
Then the synthesized run.yaml parses to the same data as the legacy migration fixture run.yaml
2121

2222

2323
# --- library mode (@skip-in-server-mode) ---
2424

2525
@skip-in-server-mode
2626
Scenario: Migrated unified configuration drives byte-identical Llama Stack behavior in library mode
27-
When lightspeed-stack --migrate-config is run for the legacy migration fixture pair
28-
Given The service uses the lightspeed-stack-unified-migrated.yaml configuration
27+
Given lightspeed-stack --migrate-config is run for the legacy migration fixture pair
28+
And The service uses the lightspeed-stack-unified-migrated.yaml configuration
2929
And The service is restarted
3030
When I access endpoint "readiness" using HTTP GET method
3131
Then The status code of the response is 200
@@ -40,8 +40,8 @@ Feature: Legacy to unified configuration migration
4040

4141
@skip-in-library-mode
4242
Scenario: Migrated unified configuration drives byte-identical Llama Stack behavior in server mode
43-
When lightspeed-stack --migrate-config is run for the legacy migration fixture pair
44-
Given The service uses the lightspeed-stack-unified-migrated.yaml configuration
43+
Given lightspeed-stack --migrate-config is run for the legacy migration fixture pair
44+
And The service uses the lightspeed-stack-unified-migrated.yaml configuration
4545
And Llama Stack is restarted
4646
And Lightspeed Stack is restarted
4747
When I access endpoint "readiness" using HTTP GET method

tests/e2e/features/unified-mode-validation.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ Feature: Unified mode configuration validation
1717
Given The service uses the lightspeed-stack-invalid-config-and-legacy.yaml configuration
1818
When configuration validation is attempted for the active configuration
1919
Then the validation error contains --migrate-config
20+
21+
22+
Scenario: config_format_version legacy with unified-shaped body fails at load
23+
Given The service uses the lightspeed-stack-invalid-version-legacy-unified-body.yaml configuration
24+
When configuration validation is attempted for the active configuration
25+
Then the validation error contains config_format_version

0 commit comments

Comments
 (0)