mirror of
https://github.com/google/nomulus.git
synced 2025-07-19 17:26:09 +02:00
Allow non-CA cert as trust anchor in tests (#468)
* Allow non-CA cert as trust anchor in tests Stay with the legacy behavior to unblock release build. We will update the test cert generation code later. TESTED=reproduced and fixed test failures in builder container
This commit is contained in:
parent
ce2f98f680
commit
36e46097e3
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,12 @@ dependencies {
|
|||
testAnnotationProcessor deps['com.google.dagger:dagger-compiler']
|
||||
}
|
||||
|
||||
test {
|
||||
// Temporarily allow non-CA cert as trust anchor (legacy behavior) in tests.
|
||||
// TODO(weiminyu): generate test cert as a CA cert.
|
||||
systemProperty 'jdk.security.allowNonCaAnchor', 'true'
|
||||
}
|
||||
|
||||
// Make testing artifacts available to be depended up on by other projects.
|
||||
task testJar(type: Jar) {
|
||||
classifier = 'test'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue