SAH-1537: Refactor k8s-test job on ska-tmc-mid-integration repository
As a part of this story the k8-test job has been splitted into two separate job named k8-test for positive and healthstate related tests and a newly introduced k8-test-tmc-unhappy for negative/unhappy scenarios.
-
Few of the tests based on old test harness which were not required have been removed:
test_mid_abort_restart_in_aborting
test_mid_abort_restart_in_restarting
test_abort_in_resourcing_with_second_abort
test_abort_in_resourcing_different_resources
test_csp_sdp_ln_obstate_mid
test_successive_scan_with_different_configurations
test_successive_scan_with_same_configurations -
Few more tests which needs to be moved to components have been removed. Few scenarios are already being tested on respective nodes and few need to be added:
-
Can be moved to CentralNode
test_assign_invalid_json
test_release_invalid_json
test_invalid_receptor_ids -
Can be moved to SubarrayNode
test_scan_not_allowed_in_idle
test_abort_in_empty
test_configure_not_allowed_in_empty
Apart from this few existing tests have also been updated by adding required assertions. This is done to reduce the time of the k8-test job which currently takes anywhere between 40 to 60 minutes. After this change the two separated jobs are getting completed in aproximately 25 mins