Ticket #3966 (closed: worksforme)
Reduce number of error messages AlignDetectorsTest produces
Reported by: | Anders Markvardsen | Owned by: | Karl Palmen |
---|---|---|---|
Priority: | minor | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | taylorrj@… | Blocked By: | |
Blocking: | Tester: | Anders Markvardsen |
Description
AlignDetectorsTest, although it passes, current produces some enormous number of error messages like:
Workspace2D-[Error] Input Detector ID = 77901 Is Invalid Workspace2D-[Error] Input Detector ID = 77902 Is Invalid Workspace2D-[Error] Input Detector ID = 77903 Is Invalid Workspace2D-[Error] Input Detector ID = 77904 Is Invalid Workspace2D-[Error] Input Detector ID = 77905 Is Invalid Workspace2D-[Error] Input Detector ID = 77906 Is Invalid Workspace2D-[Error] Input Detector ID = 77907 Is Invalid Workspace2D-[Error] Input Detector ID = 77908 Is Invalid Workspace2D-[Error] Input Detector ID = 77909 Is Invalid Workspace2D-[Error] Input Detector ID = 77910 Is Invalid Workspace2D-[Error] Input Detector ID = 77911 Is Invalid Workspace2D-[Error] Input Detector ID = 77912 Is Invalid Workspace2D-[Error] Input Detector ID = 77913 Is Invalid Workspace2D-[Error] Input Detector ID = 77914 Is Invalid Workspace2D-[Error] Input Detector ID = 77915 Is Invalid Workspace2D-[Error] Input Detector ID = 77916 Is Invalid Workspace2D-[Error] Input Detector ID = 77917 Is Invalid Workspace2D-[Error] Input Detector ID = 77918 Is Invalid Workspace2D-[Error] Input Detector ID = 77919 Is Invalid Workspace2D-[Error] Input Detector ID = 77920 Is Invalid Workspace2D-[Error] Input Detector ID = 77921 Is Invalid Workspace2D-[Error] Input Detector ID = 77922 Is Invalid Workspace2D-[Error] Input Detector ID = 77923 Is Invalid
this makes it hard to debug tests in this file and all tests in AlgorithmTest.
Reduce the number of error messages this test produces.
Estimate one man day
Change History
comment:2 Changed 9 years ago by Karl Palmen
- Status changed from new to verify
- Resolution set to worksforme
These errors continues not to occur in unit test (after several Git pulls). Ticket can be re-opened if this becomes a problem again.
comment:3 Changed 9 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
Code that outputs the error message for a single detector found in SpecialWorkspace2D::setValue . This code is probably correct, but the comment describing it needs correcting. Work would need to be done on the calling loop.
These errors does not currently occur in this unit test.