Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] PdpProviderTest.cudPolicyStatus_Create:746
Expected size:<2> but was:<5> in:
<[PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp3, policy=MyPolicy 10.20.30, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp2, policy=MyPolicyB 2.3.4, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp1, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idY, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idX, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS)]>
[ERROR] PdpProviderTest.cudPolicyStatus_Delete:795
Expected size:<4> but was:<7> in:
<[PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp3, policy=MyPolicy 10.20.30, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp2, policy=MyPolicyB 2.3.4, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp1, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idY, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idX, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idZ, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idW, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS)]>
[ERROR] PdpProviderTest.cudPolicyStatus_Update:767
Expected size:<4> but was:<11> in:
<[PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp3, policy=MyPolicy 10.20.30, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp2, policy=MyPolicyB 2.3.4, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=pdp1, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idY, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idX, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idZ, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=idW, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=zId, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=xId, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=wId, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS),
PdpPolicyStatus(pdpGroup=groupA, pdpType=MyPdpType, pdpId=yId, policy=MyPolicy 1.2.3, policyType=MyPolicyType 1.2.4, deploy=true, state=SUCCESS)]>
[ERROR] PdpProviderTest.testFromAuthorativeStatus:834


[ERROR] Failures:
[ERROR] PdpStatisticsProviderTest.testGetPdpStatistics:184 expected:<...s(pdpInstanceId=name[,timeStamp=2004-03-10T02:05:19Z,generatedId=1,pdpGroupName=group,pdpSubGroupName=subgroup,policyDeployCount=2,policyDeploySuccessCount=1,policyDeployFailCount=1,policyExecutedCount=2,policyExecutedSuccessCount=1,policyExecutedFailCount=1,engineStats=[]),PdpStatistics(pdpInstanceId=name2,timeStamp=2004-03-10T02:05:50Z,generatedId=2],pdpGroupName=group,...> but was:<...s(pdpInstanceId=name[2,timeStamp=2004-03-10T02:05:50Z,generatedId=2,pdpGroupName=group,pdpSubGroupName=subgroup,policyDeployCount=2,policyDeploySuccessCount=1,policyDeployFailCount=1,policyExecutedCount=2,policyExecutedSuccessCount=1,policyExecutedFailCount=1,engineStats=[]),PdpStatistics(pdpInstanceId=name,timeStamp=2004-03-10T02:05:19Z,generatedId=1],pdpGroupName=group,...>
[ERROR] Errors:
[ERROR] PdpProviderTest.cudPolicyStatus_Create:742 ▒ Database
Internal Exception: or...
[ERROR] PdpProviderTest.cudPolicyStatus_Delete:793 ▒ Database
Internal Exception: or...
[ERROR] PdpProviderTest.cudPolicyStatus_Update:765 ▒ Database
Internal Exception: or...
[ERROR] PdpProviderTest.testFilteredPdpGroupGet:186 ▒ Database
Internal Exception: o...
[ERROR] PdpProviderTest.testFromAuthorativeStatus:834 ▒ Persistence Exception [Eclipse...
[ERROR] PdpProviderTest.testGetAllPolicyStatusPfDao:667 ▒ Persistence Exception [Eclip...
[ERROR] PdpProviderTest.testGetAllPolicyStatusPfDaoToscaConceptIdentifierOptVersion:699 ▒ Persistence
[ERROR] PdpProviderTest.testGetGroupPolicyStatus:718 ▒ Persistence Exception [EclipseL...
[ERROR] PdpProviderTest.testGroupsCreate:227 ▒ Database
Internal Exception: org.post...
[ERROR] PdpProviderTest.testGroupsCreateNoPdp:251 ▒ Database
Internal Exception: org...
[ERROR] PdpProviderTest.testGroupsGet:157 ▒ Database
Internal Exception: org.postgre...
[ERROR] PdpProviderTest.testGroupsUpdate:283 ▒ Database
Internal Exception: org.post...
[ERROR] PdpProviderTest.testPdpSubgroupUpdate:391 ▒ Database
Internal Exception: org...
[ERROR] PdpProviderTest.testPdpUpdate:488 ▒ Database
Internal Exception: org.postgre...
[ERROR] PdpProviderTest.testPoliciesDelete:332 ▒ Database
Internal Exception: org.po...


All the tests work with H2 but this is an in-memory DB so the tables/records are not persisted.