magnusbaeck / logstash-filter-verifier

Apache License 2.0
192 stars 27 forks source link

does not run last test from batch #91

Open mutt13y opened 3 years ago

mutt13y commented 3 years ago

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

magnusbaeck commented 3 years ago

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

mutt13y commented 3 years ago

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.

magnusbaeck commented 3 years ago

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