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

Feature: merge testmon databases #77

Open
boxed opened this issue Oct 24, 2017 · 4 comments
Open

Feature: merge testmon databases #77

boxed opened this issue Oct 24, 2017 · 4 comments

Comments

@boxed
Copy link
Contributor

boxed commented Oct 24, 2017

Maybe this is possible already.. I tried searching for it but couldn't find anything.

It would be great if one could merge several .testmondata files. The use case I have is that our CI environment builds in parallel so we now have a separate serial run of the entire test suite just to generate .testmondata. This seems wasteful. It would be much nicer if we could build testmondata on each sub-build and the merge the result.

On a related note: we also have a separate coverage job, which also seems wasteful. If we could extract coverage data in the same run that would be nice.

@tarpas
Copy link
Owner

tarpas commented Oct 24, 2017

No this is not possible yet. One thing which should work is sharing the .testmondata between the parallel runs (if they have identical home directory they write to the same .testmondata) This doesn't work across machines, it all has to be local (or maybe shared network volume)

@boxed
Copy link
Contributor Author

boxed commented Oct 25, 2017

Yea, that won't work for us. Our test builds are across the network.

I just opened up a .testmondata file and looked at it. All paths in there are relative. Can't we just select all rows from one database and dump into another one?

@tarpas
Copy link
Owner

tarpas commented Dec 21, 2017

Sorry for the delay. Yes, the manual merge would be possible as long as the executed nodes are exclusive. There is a unique key on (node_variant, node_name) in the node_file table. What is the 'UI' you would like here?
tmondata_merge .outfile file1 file2 file3
?
Anybody else who would use this?

coverage data is also doable of course.

Thanks for writing down the feedback, I do think about these issues even though I don't implement solutions yet.

@boxed
Copy link
Contributor Author

boxed commented Dec 21, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants