mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
Add acceptance test
This commit is contained in:
parent
8bb87b9a63
commit
4a8aace275
2 changed files with 600009 additions and 0 deletions
|
|
@ -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
600003
fixtures/valid_large.yaml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue