Announcement Announcement Module
Collapse
No announcement yet.
greenhouse 1.0.0-BUILD-SNAPSHOT test errors Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • greenhouse 1.0.0-BUILD-SNAPSHOT test errors

    These are my pom properties

    <version>1.0.0-BUILD-SNAPSHOT</version>
    <properties>
    <java-version>1.6</java-version>
    <org.springframework-version>3.1.0.BUILD-SNAPSHOT</org.springframework-version>
    <org.springframework.security-version>3.1.0.RC3</org.springframework.security-version>
    <org.springframework.integration-version>2.0.5.RELEASE</org.springframework.integration-version>
    <org.springframework.social-version>1.0.0.RELEASE</org.springframework.social-version>
    <org.aspectj-version>1.6.11</org.aspectj-version>
    <org.slf4j-version>1.6.1</org.slf4j-version>
    </properties>

    I believe that my set up is correct. However when I run
    mvn clean install t7:run I have:-
    Tests in error:
    findEventBySlug(com.springsource.greenhouse.events .JdbcEventRepositoryTest)
    findByAccountId(com.springsource.greenhouse.member s.JdbcProfileRepositoryTest)
    findByKey(com.springsource.greenhouse.members.Jdbc ProfileRepositoryTest)
    findConnectedProfiles(com.springsource.greenhouse. members.JdbcProfileRepositoryTest)
    noConnectedProfiles(com.springsource.greenhouse.me mbers.JdbcProfileRepositoryTest)

    Tests run: 60, Failures: 0, Errors: 5, Skipped: 0

    edit ----

    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec

    Results :

    Tests in error:
    findByAccountId(com.springsource.greenhouse.member s.JdbcProfileRepositoryTest): Failed to execute database script; nested exception is org.springframework.jdbc.datasource.init.CannotRea dScriptException: Cannot read SQL script from class path resource [com/springsource/greenhouse/database/install/ConnectedAccount.sql]
    findByKey(com.springsource.greenhouse.members.Jdbc ProfileRepositoryTest): Failed to execute database script; nested exception is org.springframework.jdbc.datasource.init.CannotRea dScriptException: Cannot read SQL script from class path resource [com/springsource/greenhouse/database/install/ConnectedAccount.sql]
    findConnectedProfiles(com.springsource.greenhouse. members.JdbcProfileRepositoryTest): Failed to execute database script; nested exception is org.springframework.jdbc.datasource.init.CannotRea dScriptException: Cannot read SQL script from class path resource [com/springsource/greenhouse/database/install/ConnectedAccount.sql]
    noConnectedProfiles(com.springsource.greenhouse.me mbers.JdbcProfileRepositoryTest): Failed to execute database script; nested exception is org.springframework.jdbc.datasource.init.CannotRea dScriptException: Cannot read SQL script from class path resource [com/springsource/greenhouse/database/install/ConnectedAccount.sql]
    findEventBySlug(com.springsource.greenhouse.events .JdbcEventRepositoryTest): PreparedStatementCallback; uncategorized SQLException for SQL [select e.id, e.title, e.timeZone, e.startTime, e.endTime, e.slug, e.description, g.hashtag, g.slug as groupSlug, g.name as groupName, v.id as venueId, v.name as venueName, v.postalAddress as venuePostalAddress, v.latitude as venueLatitude, v.longitude as venueLongitude, v.locationHint as venueLocationHint from Event e inner join MemberGroup g on e.memberGroup = g.id inner join EventVenue ev on e.id = ev.event inner join Venue v on ev.venue = v.id where g.slug = ? and extract(year from e.startTime) = ? and extract(month from e.startTime) = ? and e.slug = ?]; SQL state [HY000]; error code [50000]; General error: "java.lang.IllegalArgumentException: HOUR_OF_DAY"; SQL statement:
    select e.id, e.title, e.timeZone, e.startTime, e.endTime, e.slug, e.description, g.hashtag, g.slug as groupSlug, g.name as groupName, v.id as venueId, v.name as venueName, v.postalAddress as venuePostalAddress, v.latitude as venueLatitude, v.longitude as venueLongitude, v.locationHint as venueLocationHint from Event e inner join MemberGroup g on e.memberGroup = g.id inner join EventVenue ev on e.id = ev.event inner join Venue v on ev.venue = v.id where g.slug = ? and extract(year from e.startTime) = ? and extract(month from e.startTime) = ? and e.slug = ? [50000-159]; nested exception is org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalArgumentException: HOUR_OF_DAY"; SQL statement:
    select e.id, e.title, e.timeZone, e.startTime, e.endTime, e.slug, e.description, g.hashtag, g.slug as groupSlug, g.name as groupName, v.id as venueId, v.name as venueName, v.postalAddress as venuePostalAddress, v.latitude as venueLatitude, v.longitude as venueLongitude, v.locationHint as venueLocationHint from Event e inner join MemberGroup g on e.memberGroup = g.id inner join EventVenue ev on e.id = ev.event inner join Venue v on ev.venue = v.id where g.slug = ? and extract(year from e.startTime) = ? and extract(month from e.startTime) = ? and e.slug = ? [50000-159]

    Tests run: 60, Failures: 0, Errors: 5, Skipped: 0
    Last edited by adamsaltiel; Oct 20th, 2011, 08:27 PM. Reason: Further details from eclipse console
Working...
X