File tree Expand file tree Collapse file tree
databricks-sdk-java/src/test/java/com/databricks/sdk/integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212@ EnvContext ("account" )
1313@ DisabledIfEnvironmentVariable (named = "ARM_CLIENT_ID" , matches = ".*" )
14+ // Skipping this test for GCP because this api is not enabled in GCP.
15+ @ DisabledIfEnvironmentVariable (named = "CLOUD_PROVIDER" , matches = "GCP" )
1416@ ExtendWith (EnvTest .class )
1517public class CredentialsIT {
1618 @ Test
1719 void lists (AccountClient a ) {
18- // Skipping this test for GCP because this api is not enabled in GCP.
19- if (!a .config ().isGcp ()) {
20- Iterable <Credential > list = a .credentials ().list ();
20+ Iterable <Credential > list = a .credentials ().list ();
2121
22- java .util .List <Credential > all = CollectionUtils .asList (list );
22+ java .util .List <Credential > all = CollectionUtils .asList (list );
2323
24- CollectionUtils .assertUnique (all );
25- }
24+ CollectionUtils .assertUnique (all );
2625 }
2726}
You can’t perform that action at this time.
0 commit comments