Add acceptance test

This commit is contained in:
Yann Hamon 2021-09-26 17:40:58 +02:00
parent 8bb87b9a63
commit 4a8aace275
2 changed files with 600009 additions and 0 deletions

View file

@ -288,3 +288,9 @@ resetCacheFolder() {
[ "$status" -eq 1 ]
[[ "$output" == *"proxyconnect tcp: dial tcp 127.0.0.1:1234: connect: connection refused"* ]]
}
@test "Should support large files" {
run bin/kubeconform -summary fixtures/valid_large.yaml
[ "$status" -eq 0 ]
[ "$output" = 'Summary: 100000 resources found in 1 file - Valid: 100000, Invalid: 0, Errors: 0, Skipped: 0' ]
}

600003
fixtures/valid_large.yaml Normal file

File diff suppressed because it is too large Load diff