Skip to content

Unit test speed issues #4047

@rrsettgast

Description

@rrsettgast

There are a few unit test that take much too long to complete on the CI machines:

108/270 Test #108: testXmlWrapper ..........................................   Passed   11.74 sec
180/270 Test #180: testGraphColoringMPI_mpi ................................   Passed  129.23 sec
228/270 Test #228: testSurfaceGenerator_mpi ................................   Passed  334.74 sec
239/270 Test #239: testCompositionalMultiPhaseMFDPolyhedral ................   Passed   12.75 sec
242/270 Test #242: testMixedDimSinglePhaseFlow_mpi .........................   Passed   29.31 sec
244/270 Test #244: testMixedDimHydrostaticEquilibrium_mpi ..................   Passed  445.77 sec
268/270 Test #268: testWavePropagationAdjoint1 .............................   Passed    8.14 sec
270/270 Test #270: testFEMConsistency_mpi ..................................   Passed  621.07 sec

Obviously testing is important, but some of these cases must be able to gain coverage in a more efficient manner. If you "own" these tests please look into your code and figure out why it is taking so long.

a unit test should be a few seconds.

Metadata

Metadata

Labels

type: cleanup / refactorNon-functional change (NFC)type: newA new issue has been created and requires attention

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions