imbajin commented on PR #2944: URL: https://github.com/apache/incubator-hugegraph/pull/2944#issuecomment-3822347834
> Hi, I tried refactoring HugeConfigTest to use ServerOptions directly as suggested. However, this test is in the hugegraph-common module, while ServerOptions is in hugegraph-server. When I add the dependency, it creates a circular dependency and the build fails with this error: > > ``` > The projects in the reactor contain a cyclic reference: > org.apache.hugegraph:hugegraph-api > -> org.apache.hugegraph:hugegraph-core > -> org.apache.hugegraph:hugegraph-common > -> org.apache.hugegraph:hugegraph-api > ``` > > Because of this, ServerOptions cannot be used in hugegraph-common tests without breaking the module structure. Fine, then we could keep the original logic to test it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
