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

Fix test that have dup key #6981

Merged
merged 1 commit into from
Jan 31, 2024

Fix test that have dup key

a6cda29
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fix test that have dup key #6981

Fix test that have dup key
a6cda29
Select commit
Loading
Failed to load commit list.
GitHub Actions / orcid-message-listener Unit Tests succeeded Jan 31, 2024 in 0s

orcid-message-listener Unit Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
TEST-org.orcid.listener.clients.S3ManagerTest.xml 8✅ 2s
TEST-org.orcid.listener.common.S3MessageProcessorAPIV2Test.xml 36✅ 4s
TEST-org.orcid.listener.common.S3MessageProcessorAPIV3Test.xml 72✅ 484ms
TEST-org.orcid.listener.converter.OrcidRecordToSolrDocumentTest.xml 1✅ 65ms
TEST-org.orcid.listener.persistence.dao.Api20RecordStatusDaoTest.xml 3✅ 175ms
TEST-org.orcid.listener.persistence.dao.Api30RecordStatusDaoTest.xml 3✅ 47ms
TEST-org.orcid.listener.s3.S3MessagingServiceTest.xml 2✅ 8ms

✅ TEST-org.orcid.listener.clients.S3ManagerTest.xml

8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.listener.clients.S3ManagerTest 8✅ 2s

✅ org.orcid.listener.clients.S3ManagerTest

✅ clearV2ActivitiesByTypeTest
✅ clearV3ActivitiesByTypeTest
✅ updateS3_V3RecordTest
✅ uploadV3ActivityTest
✅ uploadV2OrcidErrorTest
✅ uploadV2ActivityTest
✅ updateS3_V2RecordTest
✅ uploadV3OrcidErrorTest

✅ TEST-org.orcid.listener.common.S3MessageProcessorAPIV2Test.xml

36 tests were completed in 4s with 36 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.listener.common.S3MessageProcessorAPIV2Test 36✅ 4s

✅ org.orcid.listener.common.S3MessageProcessorAPIV2Test

✅ addFundingsTest
✅ addPeerReviewsTest
✅ removePeerReviewsFailTest
✅ removeEducationsTest
✅ activities_EmploymentsFailTest
✅ removeEducationsFailTest
✅ recordSummary_AmazonClientExceptionTest
✅ removeEmploymentsTest
✅ removeFundingsTest
✅ removeAllPeerReviewsTest
✅ removeEmploymentsFailTest
✅ removeWorksTest
✅ addEmploymentsTest
✅ uploadPeerReviewBecauseLastModifiedChangedTest
✅ removeAllFundingsTest
✅ v20RecordDeprecatedExceptionTest
✅ recordStatusMarkAllOkTest
✅ removeAllEmploymentsTest
✅ uploadNothingTest
✅ addEducationsTest
✅ removeAllEducationsTest
✅ v20RecordLockedExceptionTest
✅ removeAllWorksTest
✅ uploadEmploymentsBecauseLastModifiedChangedTest
✅ recordSummary_JAXBExceptionTest
✅ addWorksTest
✅ removeFundingsFailTest
✅ uploadWorksBecauseLastModifiedChangedTest
✅ uploadFundingsBecauseLastModifiedChangedTest
✅ uploadEducationsBecauseLastModifiedChangedTest
✅ activities_FundingsFailTest
✅ activities_WorksFailTest
✅ activities_EducationsFailTest
✅ removeWorksFailTest
✅ removePeerReviewsTest
✅ activities_PeerReviewsFailTest

✅ TEST-org.orcid.listener.common.S3MessageProcessorAPIV3Test.xml

72 tests were completed in 484ms with 72 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.listener.common.S3MessageProcessorAPIV3Test 72✅ 484ms

✅ org.orcid.listener.common.S3MessageProcessorAPIV3Test

✅ removeDistinctionsTest
✅ removeResearchResourcesFailTest
✅ addFundingsTest
✅ addPeerReviewsTest
✅ removeMembershipsFailTest
✅ activities_QualificationsFailTest
✅ addMembershipsTest
✅ removePeerReviewsFailTest
✅ addServicesTest
✅ removeEducationsTest
✅ activities_EmploymentsFailTest
✅ removeEducationsFailTest
✅ uploadServicesBecauseLastModifiedChangedTest
✅ recordSummary_AmazonClientExceptionTest
✅ uploadQualificationsBecauseLastModifiedChangedTest
✅ removeEmploymentsTest
✅ addDistinctionsTest
✅ removeAllQualificationsTest
✅ removeFundingsTest
✅ uploadResearchResourcesBecauseLastModifiedChangedTest
✅ removeAllPeerReviewsTest
✅ removeServicesTest
✅ removeEmploymentsFailTest
✅ activities_InvitedPositionsFailTest
✅ removeWorksTest
✅ addEmploymentsTest
✅ uploadPeerReviewBecauseLastModifiedChangedTest
✅ removeAllFundingsTest
✅ removeAllServicesTest
✅ recordStatusMarkAllOkTest
✅ removeInvitedPositionsTest
✅ v30RecordDeprecatedExceptionTest
✅ removeAllEmploymentsTest
✅ removeAllMemebershipsTest
✅ uploadNothingTest
✅ activities_ResearchResourcesFailTest
✅ addEducationsTest
✅ removeAllDistinctionsTest
✅ removeAllEducationsTest
✅ addInvitedPositionsTest
✅ removeQualificationsTest
✅ uploadInvitedPositionsBecauseLastModifiedChangedTest
✅ removeServicesFailTest
✅ removeAllWorksTest
✅ uploadEmploymentsBecauseLastModifiedChangedTest
✅ recordSummary_JAXBExceptionTest
✅ activities_ServicesFailTest
✅ removeDistinctionsFailTest
✅ uploadDistinctionBecauseLastModifiedChangedTest
✅ addWorksTest
✅ activities_DistinctionsFailTest
✅ uploadMembershipsBecauseLastModifiedChangedTest
✅ removeFundingsFailTest
✅ uploadWorksBecauseLastModifiedChangedTest
✅ uploadFundingsBecauseLastModifiedChangedTest
✅ uploadEducationsBecauseLastModifiedChangedTest
✅ removeAllInvitedPositionsTest
✅ addResearchResourcesTest
✅ activities_FundingsFailTest
✅ removeAllResearchResourcesTest
✅ activities_WorksFailTest
✅ v30RecordLockedExceptionTest
✅ removeInvitedPositionsFailTest
✅ activities_MembershipsFailTest
✅ removeResearchResourcesTest
✅ removeQualificationsFailTest
✅ activities_EducationsFailTest
✅ removeWorksFailTest
✅ removePeerReviewsTest
✅ activities_PeerReviewsFailTest
✅ removeMembershipsTest
✅ addQualificationsTest

✅ TEST-org.orcid.listener.converter.OrcidRecordToSolrDocumentTest.xml

1 tests were completed in 65ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.listener.converter.OrcidRecordToSolrDocumentTest 1✅ 65ms

✅ org.orcid.listener.converter.OrcidRecordToSolrDocumentTest

✅ convertTest

✅ TEST-org.orcid.listener.persistence.dao.Api20RecordStatusDaoTest.xml

3 tests were completed in 175ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.listener.persistence.dao.Api20RecordStatusDaoTest 3✅ 175ms

✅ org.orcid.listener.persistence.dao.Api20RecordStatusDaoTest

✅ updateTest
✅ getTest
✅ createTest

✅ TEST-org.orcid.listener.persistence.dao.Api30RecordStatusDaoTest.xml

3 tests were completed in 47ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.listener.persistence.dao.Api30RecordStatusDaoTest 3✅ 47ms

✅ org.orcid.listener.persistence.dao.Api30RecordStatusDaoTest

✅ updateTest
✅ getTest
✅ createTest

✅ TEST-org.orcid.listener.s3.S3MessagingServiceTest.xml

2 tests were completed in 8ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.listener.s3.S3MessagingServiceTest 2✅ 8ms

✅ org.orcid.listener.s3.S3MessagingServiceTest

✅ getV2ActivitiesBucketNameTest
✅ getV3ActivitiesBucketNameTest