Skip to content

HM-447: Implement BDD tests for TMC-SDP.Healthstate and TMC-MCCS.Healthstate on low integration repository

Muskan Sharma requested to merge hm-447 into main

Overview

  • SS-119 requires verification of the HealthState.Degraded functionality for TMC-SDP and TMC-MCCS pairwise testing.
  • TMC-SDP: In the test case implementation for TMC-SDP HealthState, we simulate the processing controller (proccontrol, an internal SDP device) being offline. We achieve this by using Kubernetes to scale down the replicas of these services to 0, effectively stopping them. This action causes the controller's health state to be reported as degraded.
  • Slack conversation: https://skao.slack.com/archives/C03TF7TCF1N/p1712136907213539
  • TMC-MCCS: The test case for TMC-MCCS is currently marked as xfailed due to existing issues on the MCCS side. SKB-319 has been created for this purpose. We have agreed with the MCCS team to mark these test cases as xfailed until the underlying issue is resolved.
  • Slack conversation: https://skao.slack.com/archives/CV76UETSQ/p1712553484537359

Changes

  • Implemented BDD test cases covering Healthstate implementation for TMC-SDP and TMC-MCCS as per agreed scenarios
  • Updated relevant documentation and comments for clarity.
  • Integration with XRay for comprehensive test coverage.

Related Links

  • XTP-34965: Verify CentralNode TelescopeHealthState
  • XTP-34895: Verify TMC TelescopeHealthState transition based on SDP Controller HealthState

Additional checklist

  • No conflicts with the master branch.
  • Merge Request title is appropriate.
  • Unit and integration tests have been added, and existing test cases are passing.
  • Variable and Function names state the purpose.
  • There are no commented-out code or print/debug statements.
  • Logs have been added where necessary.
  • Exceptions are handled wherever required.
Edited by Muskan Sharma

Merge request reports