fix: use dataretention option for results ttl in database #731
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Test - windows Adaptors/Memory/tests
succeeded
Jul 28, 2023 in 0s
Test - windows Adaptors/Memory/tests ✅
✅ Adaptors/Memory/tests/TestResults/test-results.trx
127 tests were completed in 15s with 127 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ArmoniK.Core.Adapters.Memory.Tests.ResultTableTests | 30✅ | 1s | ||
ArmoniK.Core.Adapters.Memory.Tests.SessionTableTests | 18✅ | 72ms | ||
ArmoniK.Core.Adapters.Memory.Tests.TaskTableTests | 79✅ | 981ms |
✅ ArmoniK.Core.Adapters.Memory.Tests.ResultTableTests
✅ AbortResultsShouldFail
✅ AbortResultsShouldSucceed
✅ AddDependentNotExistingResultShouldThrow
✅ AddDependentShouldSucceed
✅ ChangeResultOwnershipShouldSucceed
✅ CompleteResultShouldSucceed
✅ CompleteResultShouldThrow
✅ CreateShouldFail
✅ CreateShouldSucceed
✅ DeleteResultShouldRemoveOne
✅ DeleteResultsShouldRemoveAll
✅ DeleteUnknownResultShouldFail
✅ GetDependentsShouldSucceed
✅ GetDependentsShouldThrow
✅ GetEmptyDependentsShouldSucceed
✅ GetNotExistingResultStatusShouldSucceed
✅ GetResultBench
✅ GetResultsBench
✅ GetResultStatusShouldSucceed
✅ InitShouldSucceed
✅ ListResultsAsyncFilterResultStatusAndSessionIdLimit1ShouldSucceed
✅ ListResultsAsyncFilterResultStatusAndSessionIdShouldSucceed
✅ ListSessionAsyncNoFilterShouldSucceed
✅ ResultsAreAvailableShouldReturnAborted
✅ ResultsAreAvailableShouldReturnEmpty
✅ ResultsAreAvailableShouldSucceed
✅ SetResultShouldSucceed
✅ SetResultSmallPayloadShouldSucceed
✅ SetTaskOwnershipShouldFail
✅ SetTaskOwnershipShouldSucceed
✅ ArmoniK.Core.Adapters.Memory.Tests.SessionTableTests
✅ CancelCancelledSessionAsyncShouldFail
✅ CancelSessionAsyncShouldFail
✅ CancelSessionAsyncShouldSucceed
✅ DeleteSessionAsyncShouldFail
✅ DeleteSessionAsyncShouldSucceed
✅ GetDefaultTaskOptionAsyncShouldFail
✅ GetDefaultTaskOptionAsyncShouldSucceed
✅ InitShouldSucceed
✅ IsSessionCancelledAsyncShouldFail
✅ IsSessionCancelledAsyncShouldSucceed
✅ ListSessionAsyncFilterApplicationNameAndSessionIdShouldSucceed
✅ ListSessionAsyncFilterApplicationNameAndStatusShouldSucceed
✅ ListSessionAsyncFilterApplicationNameShouldSucceed
✅ ListSessionAsyncNoFilterShouldSucceed
✅ ListSessionAsyncShouldFail
✅ ListSessionAsyncShouldSucceed
✅ ListSessionAsyncShouldSucceed2
✅ ListSessionAsyncTaskOptionsOptions
✅ ArmoniK.Core.Adapters.Memory.Tests.TaskTableTests
✅ AcquireAcquiredTaskShouldReturnSame
✅ AcquireCreatingTaskShouldFail
✅ AcquireTaskShouldFail
✅ AcquireTaskShouldSucceed
✅ CancelSessionAsyncShouldSucceed
✅ CancelTasksAsyncEmptyListShouldSucceed
✅ CancelTasksAsyncShouldNotChangeTheGivenStatus(Cancelled)
✅ CancelTasksAsyncShouldNotChangeTheGivenStatus(Cancelling)
✅ CancelTasksAsyncShouldNotChangeTheGivenStatus(Completed)
✅ CancelTasksAsyncShouldNotChangeTheGivenStatus(Error)
✅ CancelTasksShouldSucceed
✅ CountAllTasksAsyncShouldSucceed
✅ CountPartitionTasksAsyncShouldSucceed
✅ CountTasksAsyncShouldSucceed
✅ DeleteTaskShouldFail
✅ DeleteTaskShouldSucceed
✅ FinalizeTaskCreationShouldFail
✅ FinalizeTaskCreationShouldSucceed
✅ FindTasksAsyncContainsShouldSucceed
✅ FindTasksAsyncStatusShouldSucceed(Completed,1)
✅ FindTasksAsyncStatusShouldSucceed(Processing,2)
✅ GetExpectedOutputKeysShouldSucceed
✅ GetParentTaskIdsShouldFail
✅ GetParentTaskIdsShouldSucceed
✅ GetTaskExpectedOutputKeysShouldFail
✅ GetTaskExpectedOutputKeysShouldSucceed
✅ GetTaskOutputShouldFail
✅ GetTaskOutputShouldSucceed
✅ InitShouldSucceed
✅ IsTaskCanceledShouldFail
✅ IsTaskCanceledShouldSucceed
✅ ListApplicationFromTasksShouldSucceed
✅ ListApplicationFromTasksSortShouldSucceed
✅ ListTaskEmptyResultShouldSucceed
✅ ListTaskFilter({ "field": { "taskOptionField": { "field": "TASK_OPTION_ENUM_FIELD_MAX_RETRIES" } }, "filterNumber": { "value": "5", "operator": "FILTER_NUMBER_OPERATOR_LESS_THAN_OR_EQUAL" } } true)
✅ ListTaskFilter({ "field": { "taskOptionField": { "field": "TASK_OPTION_ENUM_FIELD_MAX_RETRIES" } }, "filterNumber": { "value": "5", "operator": "FILTER_NUMBER_OPERATOR_LESS_THAN" } } false)
✅ ListTaskFilter({ "field": { "taskOptionField": { "field": "TASK_OPTION_ENUM_FIELD_PARTITION_ID" } }, "filterString": { "value": "BadPartitionId" } } false)
✅ ListTaskFilter({ "field": { "taskOptionField": { "field": "TASK_OPTION_ENUM_FIELD_PARTITION_ID" } }, "filterString": { "value": "part1" } } true)
✅ ListTaskFilter({ "field": { "taskOptionGenericField": { "field": "key1" } }, "filterString": { "value": "val1" } } true)
✅ ListTaskFilter({ "field": { "taskOptionGenericField": { "field": "key1" } }, "filterString": { "value": "val1", "operator": "FILTER_STRING_OPERATOR_CONTAINS" } } true)
✅ ListTaskFilter({ "field": { "taskOptionGenericField": { "field": "key1" } }, "filterString": { "value": "val1", "operator": "FILTER_STRING_OPERATOR_ENDS_WITH" } } true)
✅ ListTaskFilter({ "field": { "taskOptionGenericField": { "field": "key1" } }, "filterString": { "value": "val1", "operator": "FILTER_STRING_OPERATOR_STARTS_WITH" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_CREATED_AT" } }, "filterDate": { "value": "2020-03-15T00:00:00Z", "operator": "FILTER_DATE_OPERATOR_AFTER_OR_EQUAL" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_CREATED_AT" } }, "filterDate": { "value": "2020-03-15T00:00:00Z", "operator": "FILTER_DATE_OPERATOR_AFTER" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_CREATED_AT" } }, "filterDate": { "value": "2020-03-15T00:00:00Z", "operator": "FILTER_DATE_OPERATOR_BEFORE_OR_EQUAL" } } false)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_CREATED_AT" } }, "filterDate": { "value": "2020-03-15T00:00:00Z", "operator": "FILTER_DATE_OPERATOR_BEFORE" } } false)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_SESSION_ID" } }, "filterString": { "value": "BadSessionId" } } false)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_SESSION_ID" } }, "filterString": { "value": "BadSessionId", "operator": "FILTER_STRING_OPERATOR_NOT_CONTAINS" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_SESSION_ID" } }, "filterString": { "value": "SessionId" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_SESSION_ID" } }, "filterString": { "value": "SessionId", "operator": "FILTER_STRING_OPERATOR_CONTAINS" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_SESSION_ID" } }, "filterString": { "value": "SessionId", "operator": "FILTER_STRING_OPERATOR_ENDS_WITH" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_SESSION_ID" } }, "filterString": { "value": "SessionId", "operator": "FILTER_STRING_OPERATOR_STARTS_WITH" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_STARTED_AT" } }, "filterDate": { } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_STARTED_AT" } }, "filterDate": { } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_STATUS" } }, "filterStatus": { "value": "TASK_STATUS_CANCELLING" } } false)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_STATUS" } }, "filterStatus": { "value": "TASK_STATUS_CANCELLING", "operator": "FILTER_STATUS_OPERATOR_NOT_EQUAL" } } true)
✅ ListTaskFilter({ "field": { "taskSummaryField": { "field": "TASK_SUMMARY_ENUM_FIELD_STATUS" } }, "filterStatus": { "value": "TASK_STATUS_COMPLETED" } } true)
✅ ListTaskShouldSucceed
✅ ListTaskWithListInRequestShouldSucceed
✅ ListTaskWithRequestOrderByTaskOptionsOptionsShouldSucceed
✅ ListTaskWithRequestShouldSucceed
✅ OptionsAreEqual
✅ PayloadIdAfterRetryShouldBeCorrect
✅ ReadTaskAsyncShouldFail
✅ ReadTaskAsyncShouldSucceed
✅ ReleaseTaskShouldSucceed
✅ RemoveRemainingDataDependenciesDepDoesNotExistShouldSucceed
✅ RemoveRemainingDataDependenciesShouldSucceed
✅ RetryTaskShouldSucceed
✅ SetTaskCanceledAsyncShouldSucceed
✅ SetTaskErrorAsyncShouldSucceed
✅ SetTaskSuccessAsyncShouldSucceed
✅ StartTaskShouldFail
✅ StartTaskShouldSucceed
✅ UpdateAllTaskStatusAsyncShouldFailOnSomeStatus(Cancelled)
✅ UpdateAllTaskStatusAsyncShouldFailOnSomeStatus(Completed)
✅ UpdateAllTaskStatusAsyncShouldFailOnSomeStatus(Error)
✅ UpdateAllTaskStatusAsyncShouldSucceed
✅ UpdateAllTaskStatusAsyncShouldSucceedIfNoStatusGiven
Loading