Skip to content

Commit

Permalink
fix failing tests for Github Actions after jdbc 23.4 update
Browse files Browse the repository at this point in the history
  • Loading branch information
norah-li committed May 7, 2024
1 parent ae97fe1 commit 3cb2c18
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
import oracle.jdbc.provider.azure.AzureTestProperty;
import oracle.jdbc.provider.azure.authentication.AzureAuthenticationMethod;
import oracle.jdbc.spi.OracleConfigurationProvider;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

import java.sql.SQLException;
Expand All @@ -54,6 +56,11 @@
*/

public class AzureVaultJsonProviderTest {

static {
OracleConfigurationProvider.allowedProviders.add("azurevault");
}

private static final OracleConfigurationProvider PROVIDER =
OracleConfigurationProvider.find("azurevault");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
*/

public class OciDatabaseToolsConnectionProviderTest {

static {
OracleConfigurationProvider.allowedProviders.add("ocidbtools");
}

private static final OracleConfigurationProvider PROVIDER =
OracleConfigurationProvider.find("ocidbtools");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@
*/

public class OciObjectStorageProviderTest {

static {
OracleConfigurationProvider.allowedProviders.add("ociobject");
}

private static final OracleConfigurationProvider PROVIDER =
OracleConfigurationProvider.find("ociobject");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
*/

public class OciVaultJsonProviderTest {

static {
OracleConfigurationProvider.allowedProviders.add("ocivault");
}

private static final OracleConfigurationProvider PROVIDER =
OracleConfigurationProvider.find("ocivault");

Expand Down

0 comments on commit 3cb2c18

Please sign in to comment.