From bdb8f1e4661cbcbc5e3c900e19623a1c944f2f17 Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Mon, 20 Jan 2025 12:37:43 +0100 Subject: [PATCH] fix: Message in acceptance tests --- acceptance/bundle/variables/var_file_overrides/output.txt | 4 ++-- acceptance/bundle/variables/var_file_overrides/script | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/acceptance/bundle/variables/var_file_overrides/output.txt b/acceptance/bundle/variables/var_file_overrides/output.txt index 0cb274fc6..39417b380 100644 --- a/acceptance/bundle/variables/var_file_overrides/output.txt +++ b/acceptance/bundle/variables/var_file_overrides/output.txt @@ -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 diff --git a/acceptance/bundle/variables/var_file_overrides/script b/acceptance/bundle/variables/var_file_overrides/script index 147ce5acb..242df8e58 100644 --- a/acceptance/bundle/variables/var_file_overrides/script +++ b/acceptance/bundle/variables/var_file_overrides/script @@ -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