Closed timcharper closed 4 years ago
This PR builds on top of https://github.com/mesosphere/marathon/pull/7224
benchmarks don't compile.
@timcharper it would be awesome to have Builders
within the benchmark tests. most likely that's pretty straightforward, but: how would i do that?
run sbt benchmark/compile
to see stuff failing
Sigh, I spent way too much time trying to get Builders working in benchmark repo. SBT supports dependencies for benchmark main to depend on marathon test, but IntelliJ does not support it and gives all kinds of false negatives: https://youtrack.jetbrains.com/issue/SCL-8396
I tried extracting test-utils and having marathon test depend on test-utils, and test-utils depend on marathon main, but this resulted in a cyclic dependency error :/
So, I just went with symlinking in the end. Kind of a hack, but it works. Could copy-and-paste also :/
Also, remove the default values for Group and RootGroup production model constructors so that this type of issue does not reoccur.
JIRA Issues: MARATHON-8770