Jump to content

Avoid preinstall tests during installing JasperReports Server


danielstawiarski

Recommended Posts

Hey!

I have a problem with jasper instalation tests. I need to disable or avoid executing of tests that need access to postgres databases. I don't have possiblity to give jasper postgres user access to sample databeses:  foodmart and sugarcrm. Until this moment I didin't have these databses because I used js-install-minimal. Tests were failed because, they didn't have samples databases but it wasn't problem for proper jasper build (just proceeded to next step).

Currently when I changed pg_hba.conf file for postgres I have only two databses and want to have two users like this: 

hostssl  postgres      postgres  127.0.0.1/0 hostssl  jasperserver  jasper    127.0.0.1/0  

I don't want add additional accesses for test's purpose:

hostssl  foodmart      jasper    127.0.0.1/0 hostssl  sugarcrm      jasper    127.0.0.1/0

Is there any option to disable tests to avoid failed build ?

Example tests:

do-pre-install-test

recreate-js-db ?

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...