This is an automated email from the ASF dual-hosted git repository.
enorman pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-testing.git
The following commit(s) were added to refs/heads/master by this push:
new 81dd5fb SLING-10698 use GMT timezone for tests (#7)
81dd5fb is described below
commit 81dd5fbec7fe6ec13519edd6f4628d8a924ef5ba
Author: Eric Norman <[email protected]>
AuthorDate: Sat Aug 7 14:13:52 2021 -0700
SLING-10698 use GMT timezone for tests (#7)
several io.sightly.tck dateformat tests are sensitive to the timzone of
the server
---
pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 630eb7a..523afeb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -191,7 +191,8 @@ Require-Capability:
osgi.extender;filter:="(&(osgi.extender=sling.scripting)(ver
<runmode>${sling.run.modes}</runmode>
<contextPath>${http.base.path}</contextPath>
<!-- use Java8 compatible date/number formatting:
https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-A20F2989-BFA9-482D-8618-6CBB4BAAE310
-->
- <vmOpts>-Xmx1024m -XX:MaxPermSize=256m
-Djava.awt.headless=true -Djava.locale.providers=COMPAT,CLDR</vmOpts>
+ <!-- SLING-10698 use GMT timezone so dateformat
related tests from io.sightly.tck are not off by hours -->
+ <vmOpts>-Xmx1024m -XX:MaxPermSize=256m
-Djava.awt.headless=true -Djava.locale.providers=COMPAT,CLDR
-Duser.timezone=GMT</vmOpts>
<debug>${debug.options}</debug>
</server>
</servers>