Project

General

Profile

Actions

bug #5095

closed

Fix failing dozer related tests

Added by Cherian Mathew over 8 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
blocker
Found in Version:

Description

Dozer related tests are failing due to missing dtd file,

java.io.IOException: Server returned HTTP response code: 503 for URL: http://dozer.sourceforge.net/dtd/dozerbeanmapping.dtd

The failing tests include,

  • eu.etaxonomy.cdm.remote.dto.assembler.lsid.AssemblerTest.testSpeciesProfileModelMapping

  • eu.etaxonomy.cdm.remote.dto.assembler.lsid.AssemblerTest.testLazyInitializationExceptionWithProxy

  • eu.etaxonomy.cdm.remote.dto.assembler.lsid.AssemblerTest.testDeepMapping

  • eu.etaxonomy.cdm.remote.dto.assembler.lsid.AssemblerTest.testLazyInitializationExceptionWithPersistentCollection

  • eu.etaxonomy.cdm.remote.dto.assembler.lsid.AssemblerTest.testSimpleDarwinCoreMapping

  • eu.etaxonomy.cdm.remote.dto.assembler.lsid.AssemblerTest.testOAIDublinCoreMapping

  • eu.etaxonomy.cdm.remote.view.OaiPmhViewTest.testGetRecordView

  • eu.etaxonomy.cdm.remote.view.OaiPmhViewTest.testRdfGetRecordView

  • eu.etaxonomy.cdm.remote.view.OaiPmhViewTest.testListIdentifiersView

  • eu.etaxonomy.cdm.remote.view.OaiPmhViewTest.testListRecordsView

  • eu.etaxonomy.cdm.remote.view.RdfViewTest.testNameInformationRdf

This needs to be fixed urgently as it prevents the deployment of the cdmlib jars to the maven repository.


Related issues

Related to EDIT - bug #6324: fix dozer mapping after removal of synonym relations and after using TaxonNodeClosedAndreas Müller

Actions
Precedes EDIT - task #7286: re-enable dozer related tests DuplicateAndreas Kohlbecker

Actions
Actions #1

Updated by Cherian Mathew over 8 years ago

Added @Ignore to the tests for now (r25125) for building the taxeditor urgently for Sabine.

Actions #2

Updated by Andreas Kohlbecker about 8 years ago

  • Target version deleted (Release 3.8)

moving unresolved tickets to next milestone after release of 3.8.0

Actions #3

Updated by Andreas Müller almost 8 years ago

  • Target version deleted (Release 3.12)
Actions #4

Updated by Andreas Müller over 7 years ago

  • Target version changed from Release 4.0 to Release 4.1
Actions #5

Updated by Andreas Müller over 7 years ago

  • Target version changed from Release 4.1 to Release 4.2
Actions #6

Updated by Andreas Müller over 7 years ago

  • Target version changed from Release 4.2 to Release 4.3
Actions #7

Updated by Andreas Müller about 7 years ago

  • Target version changed from Release 4.3 to Release 4.4
Actions #8

Updated by Andreas Müller about 7 years ago

  • Target version changed from Release 4.4 to Release 4.5
Actions #9

Updated by Andreas Müller almost 7 years ago

  • Target version changed from Release 4.5 to Release 4.6
Actions #10

Updated by Andreas Müller over 6 years ago

  • Target version changed from Release 4.6 to Release 4.7
Actions #11

Updated by Andreas Müller over 6 years ago

  • Target version changed from Release 4.7 to Release 4.8
Actions #12

Updated by Andreas Müller over 6 years ago

  • Target version changed from Release 4.8 to Release 4.9
Actions #13

Updated by Andreas Müller over 6 years ago

  • Target version changed from Release 4.9 to Release 4.10
Actions #14

Updated by Andreas Müller about 6 years ago

  • Description updated (diff)
  • Target version changed from Release 4.10 to Release 4.12
Actions #15

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 4.12 to Release 4.13
Actions #16

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 4.13 to Release 4.14
Actions #17

Updated by Andreas Müller almost 6 years ago

  • Target version changed from Release 4.14 to Release 5.0
Actions #18

Updated by Andreas Kohlbecker almost 6 years ago

  • Precedes task #7286: re-enable dozer related tests added
Actions #19

Updated by Andreas Kohlbecker almost 6 years ago

the tests in

cdmlib-remote/src/test/java/eu/etaxonomy/cdm/remote/dto/assembler/lsid/AssemblerTest.java
cdmlib-remote/src/test/java/eu/etaxonomy/cdm/remote/view/OaiPmhViewTest.java
cdmlib-remote/src/test/java/eu/etaxonomy/cdm/remote/view/RdfViewTest.java

have been disabled.

Solve the original problem and remove all @Ignore

Actions #20

Updated by Andreas Kohlbecker almost 6 years ago

  • Private changed from Yes to No
Actions #21

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 5.0 to Release 5.1
Actions #22

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 5.1 to Release 5.2
Actions #23

Updated by Andreas Müller over 5 years ago

  • Target version changed from Release 5.2 to Release 5.3
Actions #24

Updated by Andreas Müller about 5 years ago

  • Target version changed from Release 5.3 to Release 5.5
Actions #25

Updated by Andreas Müller almost 5 years ago

  • Target version changed from Release 5.5 to Release 5.6
Actions #26

Updated by Andreas Müller almost 5 years ago

  • Target version changed from Release 5.6 to Reviewed Next Major Release
Actions #27

Updated by Andreas Müller over 3 years ago

  • Related to bug #6324: fix dozer mapping after removal of synonym relations and after using TaxonNode added
Actions #28

Updated by Andreas Müller almost 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #29

Updated by Andreas Müller almost 3 years ago

  • Subject changed from URGENT : Fix failing dozer related tests to Fix failing dozer related tests
  • Assignee changed from Andreas Müller to Andreas Kohlbecker
  • Target version changed from Reviewed Next Major Release to Release 5.21

please review

Actions #30

Updated by Andreas Kohlbecker almost 3 years ago

  • Assignee changed from Andreas Kohlbecker to Andreas Müller
  • % Done changed from 50 to 100

code changes look good, test are all successful so the ticket is solved and can be closed.

I am a bit concerned though that we could run into a situation where the oai server is absent permanently (oahServerURI = new URI("http://memory.loc.gov"); <-- typo here in var name, should be oaiServerURI). The server at this URI seems to be quite old and may be replaced completely at some day?

Therefore we should consider using server mocks instead.

Actions #31

Updated by Andreas Müller almost 3 years ago

  • Status changed from Resolved to Closed
  • Target version changed from Release 5.21 to Release 5.20

I fixed the variable name.

http://memory.loc.gov testing is not part of this ticket therefore I close this ticket. Please open a new one if you think http://memory.loc.gov testing should be handled in a ticket.

Generally we already planned to test availability of required external services via a test not running together with cdmlib testing but separately do avoid cdmlib is failing if some service is temporarily not availabe. This still needs to be implemented.

Actions

Also available in: Atom PDF