File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/aliyun/oss/integrationtests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public void setUp() throws Exception {
4141 super .setUp ();
4242
4343 bucketName = super .bucketName + "-inventory" ;
44- endpoint = "http://oss-ap-southeast-2.aliyuncs.com" ;
44+ endpoint = TestConfig . OSS_TEST_ENDPOINT ;
4545
4646 //create client
4747 ClientConfiguration conf = new ClientConfiguration ().setSupportCname (false );
@@ -87,7 +87,7 @@ private InventoryConfiguration createTestInventoryConfiguration(String configura
8787
8888 // destination
8989 InventoryEncryption inventoryEncryption = new InventoryEncryption ();
90- inventoryEncryption .setServerSideKmsEncryption (new InventoryServerSideEncryptionKMS ().withKeyId ("123" ));
90+ inventoryEncryption .setServerSideKmsEncryption (new InventoryServerSideEncryptionKMS ().withKeyId (TestConfig . KMS_CMK_ID_1 ));
9191 InventoryOSSBucketDestination ossBucketDestin = new InventoryOSSBucketDestination ()
9292 .withFormat (InventoryFormat .CSV )
9393 .withPrefix ("bucket-prefix" )
You can’t perform that action at this time.
0 commit comments