In a project's pom.xml, we added the maven wagon so we can publish the maven packages (requires authentication) to AR. Meanwhile, the same pom.xml also depends on a maven package in the same maven repo from another project.
When we run unit test, we skipped gcloud authentication because the maven repo is publicly readable. But we realized that it extends the unit test duration by 3~5x. Could you take a look?
p.s. We temporarily mitigated the issue by adding gcloud authentication before the unit test and the test duration came back to normal.
We have a publicly readable AR maven repo.
In a project's
pom.xml
, we added the maven wagon so we can publish the maven packages (requires authentication) to AR. Meanwhile, the samepom.xml
also depends on a maven package in the same maven repo from another project. When we run unit test, we skipped gcloud authentication because the maven repo is publicly readable. But we realized that it extends the unit test duration by 3~5x. Could you take a look?p.s. We temporarily mitigated the issue by adding gcloud authentication before the unit test and the test duration came back to normal.