Skip to content

Commit 671aaaa

Browse files
committed
update testcase.
1 parent 36764eb commit 671aaaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/aliyun/oss/integrationtests/BucketInventoryTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)