xVersionPolicyTest appears to be timing sensitive
Reported by Ben Hood | 2010-10-07 01:16:43 UTC
Check out builds 530,531 on TC. I also came across a similar failure in the CorrelatedVersionPolicyTest when my local machine was under heavy load.
Comments and changes to this ticket
-

Paul Jones 2010-10-07 10:52:15 UTC
The actual failure is:
CorrelatedVersionPolicyTest.shouldStoreUpstreamChangesToCorrelationStoreAndNotifySessionManagerWithoutLastUpdate (net.lshift.diffa.kernel.differencing) Unexpected method call versionStore.storeUpstreamVersion(VersionID(A-B,id1), 2010-07-08T09:17:00.000+01:00, 2010-10-07T01:05:12.322+01:00, "vsn1"): versionStore.storeUpstreamVersion(VersionID(A-B,id1), 2010-07-08T09:17:00.000+01:00, 2010-10-07T01:05:12.321+01:00, "vsn1"): expected: 1, actual: 0 java.lang.AssertionError: Unexpected method call versionStore.storeUpstreamVersion(VersionID(A-B,id1), 2010-07-08T09:17:00.000+01:00, 2010-10-07T01:05:12.322+01:00, "vsn1"): versionStore.storeUpstreamVersion(VersionID(A-B,id1), 2010-07-08T09:17:00.000+01:00, 2010-10-07T01:05:12.321+01:00, "vsn1"): expected: 1, actual: 0 -

Ben Hood 2010-10-07 20:44:55 UTC
- Tag set to tests
This has also occurred on build 4, 25 and 35 (diffa) as well.
-

Ben Hood 2010-10-13 19:04:37 UTC
- Milestone cleared.
-

Paul Jones 2010-10-15 09:10:01 UTC
- State changed from new to closed
Resolved by making the test less time dependent, and allow a range of results.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Real Time Differencing Tool.