Ticket #7605 (closed: fixed)
Fix hard-coded expectations from CreateGroupingWorkspaceTest
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.6 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Gesner Passos |
Description
This test currently hard codes the number of expected spectra in the output workspace. A recent change in the POWGEN IDF, which only came into effect at a later date, caused the test to fail as the number of detectors had changed.
The algorithm creates a workspace that has the same number of spectra as detectors so a more flexible check would just be to verify this against the instrument.
Change History
comment:2 Changed 7 years ago by Martyn Gigg
- Status changed from inprogress to verify
- Resolution set to fixed
Branch: bugfix/7605_CreateGroupingWorkspaceTest_fix
Tester: Build the AlgorithmsTest suite and run the CreateGroupingWorkspaceTest before and after the changes. It should fail before and pass now.
comment:3 Changed 7 years ago by Gesner Passos
- Status changed from verify to verifying
- Tester set to Gesner Passos
Note: See
TracTickets for help on using
tickets.
Remove hard-coded numbers from CreateGroupingWorkspaceTest.
It now just checks against the number of detectors in the instrument. Refs #7605
Changeset: 5bd7ea0453d76e724642788bc0df9f6158f15484