Chetan Mehrotra created OAK-5062:
------------------------------------
Summary: Test failure in
DocumentNodeStoreConfigTest.testRDBDocumentStore_CustomBlobDataSource
Key: OAK-5062
URL: https://issues.apache.org/jira/browse/OAK-5062
Project: Jackrabbit Oak
Issue Type: Bug
Components: documentmk
Reporter: Chetan Mehrotra
Assignee: Chetan Mehrotra
Priority: Minor
Fix For: 1.6
Attachments: unit-tests.log
Saw a test failure
[here|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/1262/jdk=JDK%201.7%20(latest),label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/testReport/junit/org.apache.jackrabbit.oak.run.osgi/DocumentNodeStoreConfigTest/testRDBDocumentStore_CustomBlobDataSource/]
In the logs following can be seen
{noformat}
Caused by: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "create
alias if not exists unix_timestamp as [*]$$ long unix_timestamp() { return
System.currentTimeMillis()/1000L; }"; SQL statement:
create alias if not exists unix_timestamp as $$ long unix_timestamp() { return
System.currentTimeMillis()/1000L; } $$; [42000-193]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
~[h2-1.4.193.jar:1.4.193]
03.11.2016 14:52:10.662 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent:
pid=org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService)]
org.apache.jackrabbit.oak-core
[org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService(23)]
Failed creating the component instance; see log for reason
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)