diff --git a/build-test-aws-s3.xml b/build-test-aws-s3.xml
index 76f9795de9cf76..a4a3a01822bdd0 100644
--- a/build-test-aws-s3.xml
+++ b/build-test-aws-s3.xml
@@ -56,7 +56,7 @@
-
+
${bucket.objects}
@@ -76,7 +76,7 @@
-
+
${bucket.objects}
@@ -118,14 +118,14 @@
-
+
${bucket.create.output}
-
+
Bucket is not created.
@@ -135,7 +135,7 @@
-
+
diff --git a/build-test.xml b/build-test.xml
index 7f59748d770a3e..5f2d2cb8fa6fd2 100644
--- a/build-test.xml
+++ b/build-test.xml
@@ -1863,6 +1863,34 @@ war.path=${app.server.portal.dir}/
+
+
+
+cacheDirCleanUpExpunge="7"
+ntlmProxyDomain=""
+proxyAuthType="none"
+httpClientMaxConnections="50"
+secretKey="${aws.s3.secret.access.key}"
+httpClientMaxErrorRetry="5"
+accessKey="${aws.s3.access.key.id}"
+cacheDirCleanUpFrequency="100"
+connectionTimeout="10000"
+multipartUploadThreshold="10485760"
+bucketName="lfr-qa-poshi-test-${aws.bucket.id}"
+minimumUploadPartSize="5242880"
+proxyPassword=""
+maxPoolSize="20"
+proxyUsername=""
+proxyPort="12345"
+s3Region="us-west-1"
+proxyHost=""
+ntlmProxyWorkstation=""
+corePoolSize="7"
+s3StorageClass="STANDARD"
+s3Endpoint="s3.us-west-1.amazonaws.com"
+
+
+
@@ -9098,29 +9126,6 @@ jdbc.default.connectionProperties=oracle.jdbc.ReadTimeout=0;oracle.net.CONNECT_T
dl.store.impl=com.liferay.portal.store.s3.S3Store
-
-cacheDirCleanUpExpunge="7"
-ntlmProxyDomain=""
-proxyAuthType="none"
-httpClientMaxConnections="50"
-secretKey="${aws.s3.secret.access.key}"
-httpClientMaxErrorRetry="5"
-accessKey="${aws.s3.access.key.id}"
-cacheDirCleanUpFrequency="100"
-connectionTimeout="10000"
-multipartUploadThreshold="10485760"
-bucketName="lfr-qa-poshi-test"
-minimumUploadPartSize="5242880"
-proxyPassword=""
-maxPoolSize="20"
-proxyUsername=""
-proxyPort="12345"
-s3Region="us-west-1"
-proxyHost=""
-ntlmProxyWorkstation=""
-corePoolSize="7"
-s3StorageClass="STANDARD"
-s3Endpoint="s3.us-west-1.amazonaws.com"
@@ -9570,6 +9575,15 @@ auto.deploy.dest.dir=C:/WINDOWS/system32/config/systemprofile/liferay/websphere-
test.retry.command.wait.time=${test.retry.command.wait.time}
+
+
+
+
+ aws.bucket.id=${aws.bucket.id}
+
+
+
+
@@ -13521,12 +13535,14 @@ module.framework.properties.blacklist.portal.profile.names=${blacklist.portal.pr
-
+
+
+
diff --git a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/documentmanagement/documentlibrarystore/DocumentLibraryStore.testcase b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/documentmanagement/documentlibrarystore/DocumentLibraryStore.testcase
index d02e41b8e6e1da..9ac07f29425b2e 100644
--- a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/documentmanagement/documentlibrarystore/DocumentLibraryStore.testcase
+++ b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/documentmanagement/documentlibrarystore/DocumentLibraryStore.testcase
@@ -71,12 +71,13 @@ definition {
JSONGroup.addGroup(groupName = "Test Site Name");
+ var bucketID = PropsUtil.get("aws.bucket.id");
var companyId = JSONCompany.getCompanyId();
var groupId = JSONGroupAPI._getGroupIdByName(groupName = "Test Site Name", site = "true");
AntCommand(
locator1 = "build-test-aws-s3.xml",
- value1 = "assert-no-document-in-bucket -DcompanyId=${companyId} -DgroupId=${groupId}");
+ value1 = "assert-no-document-in-bucket -Daws.bucket.id=${bucketID} -DcompanyId=${companyId} -DgroupId=${groupId}");
JSONDocument.addFileWithUploadedFile(
dmDocumentDescription = "DM Document Description",
@@ -87,7 +88,7 @@ definition {
AntCommand(
locator1 = "build-test-aws-s3.xml",
- value1 = "assert-document-in-bucket -DcompanyId=${companyId} -DgroupId=${groupId}");
+ value1 = "assert-document-in-bucket -Daws.bucket.id=${bucketID} -DcompanyId=${companyId} -DgroupId=${groupId}");
DMNavigator.openDocumentsAndMediaAdmin(siteURLKey = "test-site-name");
@@ -103,7 +104,7 @@ definition {
AntCommand(
locator1 = "build-test-aws-s3.xml",
- value1 = "assert-no-document-in-bucket -DcompanyId=${companyId} -DgroupId=${groupId}");
+ value1 = "assert-no-document-in-bucket -Daws.bucket.id=${bucketID} -DcompanyId=${companyId} -DgroupId=${groupId}");
}
@priority = "5"