Skip to content

Commit 111f2f1

Browse files
committed
temporarily remove test case
1 parent bc27d41 commit 111f2f1

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -85,27 +85,6 @@ public void X509Provider_EmptyFile_Throws() {
8585
}
8686
}
8787

88-
@Test
89-
public void X509Provider_EmptyCertFile_Throws() throws IOException {
90-
String certConfigPath = "certConfig.txt";
91-
String certPath = "cert.crt";
92-
String keyPath = "key.crt";
93-
InputStream certConfigStream = writeWorkloadCertificateConfigStream(certPath, keyPath);
94-
95-
TestX509Provider testProvider = new TestX509Provider(certConfigPath);
96-
testProvider.addFile(certConfigPath, certConfigStream);
97-
testProvider.addFile(keyPath, new ByteArrayInputStream(TEST_PRIVATE_KEY.getBytes()));
98-
String expectedErrorMessage = String.format("Error reading certificate configuration file value '%s': no JSON input found", certConfigPath);
99-
100-
try {
101-
testProvider.getKeyStore();
102-
fail("No key store expected.");
103-
} catch (IOException e) {
104-
String message = e.getMessage();
105-
assertTrue(message.equals(expectedErrorMessage));
106-
}
107-
}
108-
10988
@Test
11089
public void X509Provider_Succeeds() throws IOException, KeyStoreException, CertificateException {
11190
String certConfigPath = "certConfig.txt";

0 commit comments

Comments
 (0)