cancel
Showing results for 
Search instead for 
Did you mean: 

Error in ManagementServiceTest when run with MySQL

limcheekin
Champ on-the-rise
Champ on-the-rise
Hi,

When I run the activiti examples (unit tests) with MySQL, all tests passed except ManagementServiceTest, I am facing error below:
Caused by: org.activiti.ActivitiException: Could not retrieve database metadata: Can't create/write to file '/tmp/#sql_1115_0.MYI' (Errcode: 13)
at org.activiti.impl.persistence.IbatisPersistenceSession.getTableMetaData(IbatisPersistenceSession.java:579)

Just curious is anyone facing the same error. Is the error critical?

Regards,
Chee Kin
2 REPLIES 2

cmuelder
Champ in-the-making
Champ in-the-making
Hi Chee Kin,

Did you run the unit tests via maven? If yes, could you please provide the surefire-reports?

Which mysql table engine did you use? We changed the creation of the tables to use type INNODB! Take a look at /trunk!

Regards,
Christian

limcheekin
Champ on-the-rise
Champ on-the-rise
Hi Christian,

Thanks for writings.

Sorry for late response. I run the tests of Activiti 5.0.alpha4 in grails environment.

As 5.0.beta1 was released. I will assume that this problem is fixed.

Anyway, I attached here the test reports for your reference.

Regards,
Chee Kin