Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1295

PostgreSQL @ShouldMatchDataSet "Failed while comparing database state with provided data sets"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • persistence_1.0.0.Alpha5
    • None
    • Hide

      (1) Set up a domain in Glassfish 3.1.2
      (2) Insert log4j-1.2.16.jar into Glassfish 3.1.2 domain lib directory
      (3) Download and extract ArquillianTest2.tar.gz archive
      (4) run ArquillianTest2/db-scripts/postgresql/ scripts to create and
      set up PostgreSQL database table
      (5) configure pom.xml "localhost-test" profile
      (5) Run into ArquillianTest2 project directory:
      mvn -Plocalhost-test -Dtest=it.arquillian.moduleTest.jpa.controller.ActionJpaControllerTest test

      Show
      (1) Set up a domain in Glassfish 3.1.2 (2) Insert log4j-1.2.16.jar into Glassfish 3.1.2 domain lib directory (3) Download and extract ArquillianTest2.tar.gz archive (4) run ArquillianTest2/db-scripts/postgresql/ scripts to create and set up PostgreSQL database table (5) configure pom.xml "localhost-test" profile (5) Run into ArquillianTest2 project directory: mvn -Plocalhost-test -Dtest=it.arquillian.moduleTest.jpa.controller.ActionJpaControllerTest test

    Description

      PostgreSQL versions 9.1.7 and 9.2.3 failure on @ShouldMatchDataSet: "Failed while comparing database state with provided data sets."

      Try to execute the attached Maven project; see project README file for proper configuration; configure pom.xml "localhost-test" profile properties.

      Client side failure:

      Tests in error: 
        shouldFindSetOfActionEntities(it.arquillian.moduleTest.jpa.controller.ActionJpaControllerTest): Failed while comparing database state with provided data sets.
      

      The database table is not cleaned up after test execution (@Cleanup annotation).

      No exception can be found on server log.

      Attachments

        Activity

          People

            bartosz-1 Bartosz Majsak
            mcella_jira Marco Cella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: