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 11package com .databricks .sdk .integration ;
22
3+ import com .databricks .sdk .AccountClient ;
4+ import com .databricks .sdk .integration .framework .CollectionUtils ;
35import com .databricks .sdk .integration .framework .EnvContext ;
46import com .databricks .sdk .integration .framework .EnvTest ;
5- import org .junit .jupiter .api .condition .DisabledIfEnvironmentVariable ;
7+ import com .databricks .sdk .service .provisioning .CustomerManagedKey ;
8+ import org .junit .jupiter .api .Test ;import org .junit .jupiter .api .condition .DisabledIfEnvironmentVariable ;
69import org .junit .jupiter .api .extension .ExtendWith ;
710
811@ EnvContext ("account" )
912@ DisabledIfEnvironmentVariable (named = "ARM_CLIENT_ID" , matches = ".*" )
1013@ ExtendWith (EnvTest .class )
1114public class EncryptionKeysIT {
12- // TODO: Enable this test when the test account is updated to support this.
13- // Either by upgrading the test account tier to Enterprise or by adding this
14- // feature to the test account.
15- // @Test
16- // void lists(AccountClient a) {
17- // Iterable<CustomerManagedKey> list = a.encryptionKeys().list();
15+ @ Test
16+ void lists (AccountClient a ) {
17+ Iterable <CustomerManagedKey > list = a .encryptionKeys ().list ();
1818
19- // java.util.List<CustomerManagedKey> all = CollectionUtils.asList(list);
19+ java .util .List <CustomerManagedKey > all = CollectionUtils .asList (list );
2020
21- // CollectionUtils.assertUnique(all);
22- // }
21+ CollectionUtils .assertUnique (all );
22+ }
2323}
You can’t perform that action at this time.
0 commit comments