I just tried a few minutes ago, DAO tests are working fine for me
on master (1b9b2e0c42ab1c753f3a4e69b2f7279d3a931f91)
Try to clear and recreate your testing db.
Martin
----- Original Message -----
From: "Yair Zaslavsky" <yzaslavs(a)redhat.com>
To: "Idan Shaby" <ishaby(a)redhat.com>
Cc: devel(a)ovirt.org
Sent: Wednesday, October 22, 2014 11:09:02 AM
Subject: Re: [ovirt-devel] DAO tests are failing on master
Looks like a hashcode/equals problem.
I tried git log on VmNumaNode.java - doesnt look like it changed for a while.
Same for VdsNumaNode, and same for the DAOs and the SPs.
This is strange.
Are you sure you don't have some dirt on your environment?
Yair
----- Original Message -----
> From: "Idan Shaby" <ishaby(a)redhat.com>
> To: devel(a)ovirt.org
> Sent: Wednesday, October 22, 2014 11:07:40 AM
> Subject: [ovirt-devel] DAO tests are failing on master
>
> Hi,
>
> Two tests are failing on class VmNumaNodeDAOTest:
>
> - testGetAllPinnedVmNumaNodeByVdsNumaNodeId
> - testGetAllVmNumaNodeByVdsNumaNodeId
>
>
> The relevant part of the output:
>
> Failed tests:
>
testGetAllPinnedVmNumaNodeByVdsNumaNodeId(org.ovirt.engine.core.dao.VmNumaNodeDAOTest):
> expected:<3c2b81e6-5080-4ad1-86a1-cf513b15b515> but
> was:<3c2b81e6-5080-4ad1-86a1-cf513b15b516>
> testGetAllVmNumaNodeByVdsNumaNodeId(org.ovirt.engine.core.dao.VmNumaNodeDAOTest):
> expected:<3c2b81e6-5080-4ad1-86a1-cf513b15b515> but
> was:<3c2b81e6-5080-4ad1-86a1-cf513b15b516>
>
> Tests run: 1386, Failures: 2, Errors: 0, Skipped: 0
>
>
> My "mvn -version" output:
>
> Apache Maven 3.1.1 (NON-CANONICAL_2013-11-08_14-32_mockbuild; 2013-11-08
> 16:32:41+0200)
> Maven home: /usr/share/maven
> Java version: 1.7.0_45, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.15.10-200.fc20.x86_64", arch:
"amd64",
> family:
> "unix"
>
> Anyone knows something about this?
>
> Thanks,
> Idan
> _______________________________________________
> Devel mailing list
> Devel(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/devel
>
_______________________________________________
Devel mailing list
Devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel