fix: Message in acceptance tests

This commit is contained in:
Ilya Kuznetsov 2025-01-20 12:37:43 +01:00
parent 2a1c4d196e
commit bdb8f1e466
No known key found for this signature in database
GPG Key ID: 91F3DDCF5D21CDDF
2 changed files with 3 additions and 3 deletions

View File

@ -112,8 +112,8 @@ Exit code: 1
}
}
>>> errcode $CLI bundle validate -o json --target without-defaults --var-file=var_files/empty.json
Error: failed to read variables file: open var_files/empty.json: no such file or directory
>>> errcode $CLI bundle validate -o json --target without-defaults --var-file=var_files/without_required.json
Error: no value assigned to required variable cluster_workers. Assignment can be done through the "--var" or "--var-file" flag or by setting the BUNDLE_VAR_cluster_workers environment variable
Exit code: 1

View File

@ -28,4 +28,4 @@ trace errcode $CLI bundle validate -o json --var-file=var_files/complex_to_strin
trace errcode $CLI bundle validate -o json --var-file=var_files/string_to_complex.json | jq $cluster_expr
# variable is required but it's not provided in the file
trace errcode $CLI bundle validate -o json --target without-defaults --var-file=var_files/empty.json | jq $cluster_expr
trace errcode $CLI bundle validate -o json --target without-defaults --var-file=var_files/without_required.json | jq $cluster_expr