Skip to content

Adjust upgrade e2e test to pause Job before upgrade #426

Closed
@sutaakar

Description

@sutaakar

Name of Feature or Improvement

Adjust upgrade e2e test to pause Job before upgrade

Description of Problem the Feature Should Solve

Right now the upgrade e2e test is unreliable in the sense that the test depends on operator upgrade to be invoked right after TestMNISTCreateAppWrapper finishes. In case of any larger delay the old operator finishes AppWrapper processing, making the test worthless.

Describe the Solution You Would Like to See

This PR makes sure that Job created by AppWrapper is suspended, resumed by TestMNISTCheckAppWrapperStatus. As a result the upgrade test is not dependent on operator upgrade timing, as upgraded operator is running when TestMNISTCheckAppWrapperStatus is invoked.

Describe Alternatives You Have Considered

N/A

Additional Context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions