add more tests

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2022-10-03 11:24:58 +08:00
parent f6fd754386
commit 5367fbe549
1 changed files with 3 additions and 2 deletions

View File

@ -232,13 +232,14 @@ if [[ helm_major_version -eq 3 ]]; then
test_pass "secretssops.3"
test_start "yaml overwrite feature"
info "Comparing yaml overwrite feature output with ${feature_golden_dir}/overwritten.yaml"
info "Comparing yaml overwrite feature output ${yaml_overwrite_reverse} with ${feature_golden_dir}/overwritten.yaml"
for i in $(seq 10); do
info "Comparing build/yaml-overwrite #$i"
${helmfile} -f ${dir}/issue.657.yaml template > ${yaml_overwrite_reverse} || fail "\"helmfile template\" shouldn't fail"
./yamldiff ${feature_golden_dir}/reverse.build.yaml ${yaml_overwrite_reverse} || fail "\"helmfile template\" should be consistent"
./yamldiff ${feature_golden_dir}/overwritten.yaml ${yaml_overwrite_reverse} || fail "\"helmfile template\" should be consistent"
echo code=$?
done
test_pass "yaml overwrite feature"
fi