Skip to content

Commit f499899

Browse files
committed
feat(mtls): Fix import and test
1 parent 047f391 commit f499899

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

oauth2_http/java/com/google/auth/mtls/SecureConnectProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
import java.io.InputStream;
4242
import java.security.GeneralSecurityException;
4343
import java.security.KeyStore;
44+
import java.util.concurrent.TimeUnit;
4445
import java.util.List;
4546

4647
/**

oauth2_http/javatests/com/google/auth/mtls/SecureConnectProviderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public void testRunCertificateProviderCommandTimeout() throws InterruptedExcepti
142142
() -> SecureConnectProvider.runCertificateProviderCommand(certCommandProcess, 100));
143143
assertTrue(
144144
"expected to fail with timeout",
145-
actual.getMessage().contains("cert provider command timed out"));
145+
actual.getMessage().contains("Cert provider command timed out"));
146146
}
147147

148148
@Test

0 commit comments

Comments
 (0)