Commit 5b722e7
Fix acceptance/bundle/resources/model_serving_endpoints/running-endpoint test (#3927)
The test was failing because not all cloud environments have a version
"1" available for the model. Expanding the regex check to all integers
should fix the failure.
Failure diff:
```
acceptance_test.go:807: Diff:
--- bundle/resources/model_serving_endpoints/running-endpoint/output.txt
+++ /tmp/TestAcceptbundleresourcesmodel_serving_endpointsrunning-endp4294099973/001/output.txt
@@ -16,7 +16,7 @@
"served_entities": [
{
"entity_name": "system.ai.llama_v3_2_1b_instruct",
- "entity_version": "[VERSION]",
+ "entity_version": "2",
"name": "llama",
"scale_to_zero_enabled": true,
"workload_size": "Small"
```
Co-authored-by: Denis Bilenko <[email protected]>1 parent 1e978fd commit 5b722e7
File tree
1 file changed
+1
-1
lines changed- acceptance/bundle/resources/model_serving_endpoints/running-endpoint
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
0 commit comments