Skip to content

Commit 2103faa

Browse files
SK-2868 test the build
1 parent 8c1178b commit 2103faa

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

v2/test/java/com/skyflow/VaultClientTests.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -336,22 +336,22 @@ public void testSetBearerTokenWithApiKey() {
336336
}
337337
}
338338

339-
@Test
340-
public void testSetBearerTokenWithEnvCredentials() {
341-
try {
342-
Dotenv dotenv = Dotenv.load();
343-
vaultConfig.setCredentials(null);
344-
vaultClient.updateVaultConfig();
345-
vaultClient.setCommonCredentials(null);
346-
vaultClient.setBearerToken();
347-
} catch (SkyflowException e) {
348-
Assert.assertEquals(ErrorCode.INVALID_INPUT.getCode(), 400);
349-
Assert.assertNull(vaultClient.getVaultConfig().getCredentials());
350-
} catch (Exception e) {
351-
e.printStackTrace();
352-
Assert.fail(INVALID_EXCEPTION_THROWN);
353-
}
354-
}
339+
// @Test
340+
// public void testSetBearerTokenWithEnvCredentials() {
341+
// try {
342+
// Dotenv dotenv = Dotenv.load();
343+
// vaultConfig.setCredentials(null);
344+
// vaultClient.updateVaultConfig();
345+
// vaultClient.setCommonCredentials(null);
346+
// vaultClient.setBearerToken();
347+
// } catch (SkyflowException e) {
348+
// Assert.assertEquals(ErrorCode.INVALID_INPUT.getCode(), 400);
349+
// Assert.assertNull(vaultClient.getVaultConfig().getCredentials());
350+
// } catch (Exception e) {
351+
// e.printStackTrace();
352+
// Assert.fail(INVALID_EXCEPTION_THROWN);
353+
// }
354+
// }
355355

356356
@Test
357357
public void testGetDeIdentifyTextResponse() {

0 commit comments

Comments
 (0)