Ticket #10149 (closed: fixed)
LoadInstrument Tests
Reported by: | Owen Arnold | Owned by: | Anders Markvardsen |
---|---|---|---|
Priority: | major | Milestone: | Release 3.3 |
Component: | Framework | Keywords: | |
Cc: | nick.draper@… | Blocked By: | |
Blocking: | #9905 | Tester: | Owen Arnold |
Description
Nick pointed out that the clean unit tests are incredibly slow:
The incremental ones are much faster. This indicates that the slow speed is because the instrument is too large, and creating the complex geometry (from which the vtp files are saved) is a huge bottleneck.
The target for IO related tests is < 5 seconds per suite.
Change History
comment:2 Changed 6 years ago by Anders Markvardsen
Removed to unit test. re #10149
Removed testExecGEM and testExecHRP. These were added at early days of loadinstrument adding some of the first instruments to mantid.
More recently a systemtest has been added that test that all IDFs loads, hence the tests these performed are now covered elsewhere
Changeset: e9b1dfe8ab6740dbd60586ce1578eaa370d4fb61
comment:4 Changed 6 years ago by Anders Markvardsen
- Status changed from assigned to verify
- Resolution set to fixed
According to http://builds.mantidproject.org/job/develop_clean/label=win7-build/307/testReport/DataHandlingTest/ running this unit test now takes less than 1 sec.
To tester: check that running loadinstrumenttest now that less than 5 secs
comment:5 Changed 6 years ago by Owen Arnold
- Status changed from verify to verifying
- Tester set to Owen Arnold
Improve loadinstrumenttest executation time. re #10149
by heavily cut down hrpd instrument used for unit testing
Changeset: e25df78de0d8a4ca8f53935a70b1bd68e22888fc