Closed zabeen closed 1 year ago
Given a valid search request with valid HLA typings
And match prediction enabled,
When an intermittent failure occurs during matching algorithm request processing,
And retry attempts remain on the request,
Then multiple matching and search failure notifications should be sent out for as long as the intermittent failure lasts,
Each notification containing the correct failure information,
And saying that search will be retried.
84b7b6fd-1446-4d06-a23b-be15716c167e
"FailureInfo": {
"ValidationError": null,
"AttemptNumber": 1,
"RemainingRetriesCount": 9
}
"FailureInfo": {
"StageReached": "Matching Algorithm",
"MatchingAlgorithmFailureInfo": {
"ValidationError": null,
"AttemptNumber": 1,
"RemainingRetriesCount": 9
},
"WillRetry": true
}
Given a valid search request with valid HLA typings
And match prediction enabled,
When an intermittent failure occurs during matching algorithm request processing,
And no retry attempts remain on the request,
Then one last matching and search failure notification should be sent out,
Containing the correct failure information,
And saying that search will be NOT retried.
84b7b6fd-1446-4d06-a23b-be15716c167e
"FailureInfo": {
"ValidationError": null,
"AttemptNumber": 10,
"RemainingRetriesCount": 0
}
"FailureInfo": {
"StageReached": "Matching Algorithm",
"MatchingAlgorithmFailureInfo": {
"ValidationError": null,
"AttemptNumber": 10,
"RemainingRetriesCount": 0
},
"WillRetry": false
}
Given a valid search request with an invalid HLA typing
And match prediction enabled,
When the request is processed by the matching algorithm,
Then only a single matching and search failure notification should be sent out,
Each containing the correct failure information,
And saying that the search will NOT be retried.
1b92a8d1-4290-482f-a5ff-6af6fd6110ac
"FailureInfo": {
"ValidationError": "Failed to lookup '*01:invalid' at locus A.",
"AttemptNumber": 1,
"RemainingRetriesCount": 0
}
"FailureInfo": {
"StageReached": "Matching Algorithm",
"MatchingAlgorithmFailureInfo": {
"ValidationError": "Failed to lookup '*01:invalid' at locus A.",
"AttemptNumber": 1,
"RemainingRetriesCount": 0
},
"WillRetry": false
}
ATLAS-FUNCTIONS
app with an incorrect password, before running the search request.Given a valid search request with valid HLA typings
And match prediction enabled,
When an intermittent failure occurs during search orchestrator request processing,
Then the request should be retried by the orchestrator until retries are exhausted,
After which only a single search failure notification should be sent out,
Containing the correct failure information,
And saying that the search will NOT be retried.
1aab9c2a-3713-48e7-9bdf-2f20bafc82ef
NullReferenceException
being thrown because Matching Algorithm Failure Info is null
(as it should be).80d68624-0b13-441c-aa2f-07570e7d01e1
"FailureInfo": null
"FailureInfo": {
"StageReached": "RunMatchPredictionAlgorithm",
"MatchingAlgorithmFailureInfo": null,
"WillRetry": false
}
Given a valid search request with valid HLA typings
And match prediction enabled,
When the request has been processed,
Then a single matching and search result notification should be sent out,
Each notification containing the correct search information,
And no failure information.
d5fa4423-e025-4de3-b732-e539c3d325a5
TBC