Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-2749

Implement specific testing to cover failures in AWS MAPI/CAPI conversion

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • CLOUD Sprint 260, CLOUD Sprint 261

      Background

      We have now merged a design for the MAPI to CAPI library, but, have not been extensively testing it up to now.

      There are a large number of fields that currently cannot be converted, and we should ensure each of these is tested.

      Steps

      • Update the testutils providerSpec generation in actuator pkg to be able to configure more fields (those that need to be cleared or configured to specific values)
      • Identify a "base" that will pass the conversion and build a test structure that allows this base to be mutated to create specific test cases
      • Add a test case for each of the expected failures to verify the output error message when misconfiguration occurs
      • Cover AWS MAPI to CAPI, Machine MAPI to CAPI, MachineSet MAPI to CAPI
      • And then reverse the above by doing the same in the CAPI to MAPI version
      • This could be broken down into several tasks and implemented as separate PRs

      Stakeholders

      • Cluster Infra

      Definition of Done

      • We have both positive and extensive negative testing for the MAPI to CAPI conversions in the capi operator repo
      • Docs
      • <Add docs requirements for this card>
      • Testing
      • <Explain testing that will be added>

            ddonati@redhat.com Damiano Donati
            joelspeed Joel Speed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: