magnusbaeck / logstash-filter-verifier

Apache License 2.0
191 stars 27 forks source link

For some testcases I needed to isolate the cases to pass the tests. `state change: "unknown" because of waitForState timeout` #170

Closed apple-corps closed 2 years ago

apple-corps commented 2 years ago

I have a set of two test cases testing the same filter. After adding a third test case (with two expected events) and a new input, the test failed. I then isolated this third case. In isolation I was able to pass tests for this third case.

I then attempted to place the third case back along with the two other passing test cases. Regardless of ordering expectations, I could not make the test pass. IIRC in one ordering it would fail expecting the other input first. In the other ordering I'd see state change: "unknown" because of waitForState timeout in the logs.

I can try to record some debugging details. But I'm unable to provide my test cases.

Finally I can try to test if changes are made.

breml commented 2 years ago

To debug this one, more details are needed.

apple-corps commented 2 years ago

can't reproduce. I was able to make the testing work eventually. Closing.