Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing unit tests [DATAJPA-272] #686

Closed
spring-projects-issues opened this issue Nov 23, 2012 · 2 comments
Closed

Failing unit tests [DATAJPA-272] #686

spring-projects-issues opened this issue Nov 23, 2012 · 2 comments
Assignees
Labels
type: bug A general bug type: task A general task

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Nov 23, 2012

Ranie Jade Ramiso opened DATAJPA-272 and commented

I know the build is working in the CI, but when I try to build locally I always get unit test failures. Attached is the output of maven. Here's the thing, when I run the failing test individually they pass. All of the failed test threw this exception.

[org.springframework.data.jpa.domain.sample.User]; SQL [insert into User (id, active, age, createdAt, emailAddress, firstname, lastname, manager_id, DTYPE) values (null, ?, ?, ?, ?, ?, ?, ?, 'User')]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not insert: [org.springframework.data.jpa.domain.sample.User]

Attachments:

Referenced from: commits b7e1e2f, 69bcc3d

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Nov 23, 2012

Ranie Jade Ramiso commented

forgot to add the environment I am running:

Java

java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)

Operating System

Ubuntu 12.04 LTS

Maven

Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800)
Maven home: /opt/apache-maven-3.0.4
Java version: 1.6.0_33, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/jdk1.6.0_33/jre
Default locale: en_PH, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-33-generic", arch: "amd64", family: "unix"

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Jan 2, 2013

Ranie Jade Ramiso commented

Please close this, got a new box. The builds where fine, not sure what really the problem was on my laptop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants