Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/src/main/java/io/grpc/InternalChannelz.java
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ public Tls(SSLSession session) {
Certificate localCert = null;
Certificate remoteCert = null;
Certificate[] localCerts = session.getLocalCertificates();
System.err.println("session.getProtocol()=" + session.getProtocol());
if (localCerts != null) {
localCert = localCerts[0];
}
Expand Down
1 change: 1 addition & 0 deletions buildscripts/kokoro/macos.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env_vars {
# We always build mvn artifacts.
action {
define_artifacts {
regex: "github/grpc-java/**/build/reports/**"
regex: "github/grpc-java/mvn-artifacts/**"
}
}
1 change: 1 addition & 0 deletions buildscripts/kokoro/windows.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ timeout_mins: 45
action {
define_artifacts {
regex: "**/build/test-results/**/*.xml"
regex: "github/grpc-java/**/build/reports/**"
regex: "github/grpc-java/mvn-artifacts/**"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,13 @@ public void from_tls_clientAuthRequire_noClientCert() throws Exception {
.trustManager(caCert)
.build();
Status status = expectFailedHandshake(channelCreds, serverCreds);
assertThat(status.getDescription()).isEqualTo("ssl exception");
System.err.println("java.version=" + System.getProperty("java.version"));
String[] enabled = engine.getEnabledProtocols();
String[] supported = engine.getSupportedProtocols();
System.err.println("enabled protocols=" + Arrays.toString(enabled));
System.err.println("supported protocols=" + Arrays.toString(supported));
status.asException().printStackTrace(); // temp - for debygging
assertThat(status.getDescription()).isEqualTo("mis exception");
}

@Test
Expand Down