Skip to content
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

Introduce List storage for engine tests #4241

Merged
merged 4 commits into from
Apr 14, 2020
Merged

Conversation

Zelldon
Copy link
Member

@Zelldon Zelldon commented Apr 6, 2020

Description

Replaces the AtomixLogStorage with an on heap ListStorage.
Most of the tests are by factor 2 faster then before.

For example variable.mappings tests before:

old

now:

improve

The engine test suite now runs on jenkins with around 1:50 min, before 02:39 min.

Related issues

closes #4240
closes #4242

Pull Request Checklist

  • All commit messages match our commit message guidelines
  • The submitting code follows our code style
  • If submitting code, please run mvn clean install -DskipTests locally before committing

@Zelldon Zelldon requested a review from saig0 April 6, 2020 12:16
@Zelldon
Copy link
Member Author

Zelldon commented Apr 6, 2020

@deepthidevaki part of this PR I refactored a bit the StreamProcessorHealthTest maybe you can have a look

@npepinpe
Copy link
Member

npepinpe commented Apr 6, 2020

Can we remove entirely dependency on Atomix from the engine forever? Next is removing it from LogStream 😍

@Zelldon
Copy link
Member Author

Zelldon commented Apr 6, 2020

@npepinpe I tried but I needed the ZeebeEntry stuff but I think it is a step forward we can iterate/improve on that

@deepthidevaki
Copy link
Contributor

@deepthidevaki part of this PR I refactored a bit the StreamProcessorHealthTest maybe you can have a look

Looks good. Thanks 👍

@Zelldon
Copy link
Member Author

Zelldon commented Apr 6, 2020

@npepinpe nevermind was able to remove the atomix dep ✌️

@Zelldon
Copy link
Member Author

Zelldon commented Apr 8, 2020

@saig0 pingPong 🏓

Copy link
Member

@saig0 saig0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvement 👍 Thanks!

@Zelldon
Copy link
Member Author

Zelldon commented Apr 14, 2020

bors r+

zeebe-bors bot added a commit that referenced this pull request Apr 14, 2020
4241: Introduce List storage for engine tests r=Zelldon a=Zelldon

## Description

Replaces the AtomixLogStorage with an on heap ListStorage.
Most of the tests are by factor 2 faster then before.

For example variable.mappings tests before:

![old](https://user-images.githubusercontent.com/2758593/78557599-5db2d680-7811-11ea-9223-47d1de6e66f5.png)

now:

![improve](https://user-images.githubusercontent.com/2758593/78557612-61465d80-7811-11ea-869e-1c314ff6bec3.png)



The engine test suite now runs on jenkins with around 1:50 min, before 02:39 min.

## Related issues

closes #4240 
closes #4242 

#

Co-authored-by: Christopher Zell <zelldon91@googlemail.com>
@zeebe-bors
Copy link
Contributor

zeebe-bors bot commented Apr 14, 2020

Build failed

@Zelldon
Copy link
Member Author

Zelldon commented Apr 14, 2020

bors r+

@zeebe-bors
Copy link
Contributor

zeebe-bors bot commented Apr 14, 2020

Build succeeded

@zeebe-bors zeebe-bors bot merged commit 67149dc into develop Apr 14, 2020
@zeebe-bors zeebe-bors bot deleted the zell-list-storage branch April 14, 2020 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants