Closed rmetzler closed 4 years ago
Since you're compiling locally, can you try making the following change: https://github.com/aelsabbahy/goss/blob/master/resource/validate.go#L29
Change that line to:
maxScanTokenSize = 10240 * 1024
If that works for you, feel free to submit a PR. I don't think a 10mb token size is too unreasonable.
hmm... this feels like a cheap workaround. It will probably do for now, but I hope to find time fixing this properly.
Sure, I'd love your thoughts on the proper fix.
Feel free to open up a new ticket with a proper fix. I'm guessing it would use bufio.Reader: https://golang.org/pkg/bufio/#Scanner
Describe the bug
I have some very big XMLs I need to verify
How To Reproduce
Expected Behavior
goss should say this is ok
Actual Behavior
Environment: