-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests rearranging themselves #89
Comments
The first thing, that comes to my mind is |
And |
Will take a look! Thank you :) |
Hi, I've tried running LS 7.9 and LFV using |
I am not sure, if there is a solution for this problem, if Can you elaborate why you need the |
We need the Take one event, if it contains a certain event type, clone it and then run filters on it to transform it, ready to insert it into a different index. The original event is still preserved and therefore goes into the original index - both are equally useful documents. Another, for example, is to run some Elasticsearch filtering on a cloned event (as well as pruning fields etc.) to then insert into an entity-centric index. This for example, can be the last state of each user we've seen in our database that we then can aggregate on. We of course, need to test that this cloning and processing works, and continues to work, when changes are made. |
I am still seeing this with the use of I've tried to reproduce a minimal test case that illustrates the problem but I've been unable to do so with a small config that I am able to share. |
I believe this issue is a dupe of #150 |
Hi,
We're encountering an issue sometimes where the LFV outputs decide to rearrange themselves on different runs, which causes our GitLab CI to fail. When I say LFV outputs, I'm talking about when we use a clone{} filter. Upon rerunning it the tests will run in the right order and sometimes it'll pass.
An example using pseudo logic:
So then the test will fail, because instead of expecting Bar to be the first results returned, we get Baz and vice versa.
Is there an end-user way of ordering these events that we should be following? Or is there a way that we can adjust the code to sort the test outputs in a specific way etc.? Let me know if I need to explain the issue differently :)
Cheers,
Aaron
The text was updated successfully, but these errors were encountered: