logstash-filter-verifier icon indicating copy to clipboard operation
logstash-filter-verifier copied to clipboard

does not run last test from batch

Open mutt13y opened this issue 3 years ago • 3 comments

When have a file with multiple inputs the last test is not run say I have 20 tests the run will end with

Comparing message 19 of 20 test.yml

if I adjust the last test to make it fail no error is printed either I assume it did not run

mutt13y avatar Nov 11 '20 14:11 mutt13y

Could you please provide a minimal example file that illustrates the problem?

magnusbaeck avatar Nov 14 '20 20:11 magnusbaeck

I managed to fix the issue. by adding the proper yaml markers (--- to the start and ... to the end) It seems that without these it sometimes does not execute the last test.

If you still need an example I can try to extract a minimal example from my config.

mutt13y avatar Nov 15 '20 16:11 mutt13y

Yes, could you please do that? I haven't experienced any problems with testcases being dropped.

magnusbaeck avatar Nov 28 '20 21:11 magnusbaeck