SONAR-5007 fix test on postgres