You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a) Rewrite all .apply() calls to class methods with @modify decorator
b) Override .apply() or .modify_and_apply() methods in class KubernetesObject to fail with assert if unsuccessful
The text was updated successfully, but these errors were encountered:
Currently when doing changes to APIobject-s via the
.apply()
or.modify_and_apply()
methods these can fail silently. This does not apply to class methods with@modify
decorator as those will fail with assertion error (https://github.com/Kuadrant/testsuite/blob/main/testsuite/kubernetes/__init__.py#L90)To fix this there are two solutions:
a) Rewrite all
.apply()
calls to class methods with@modify
decoratorb) Override
.apply()
or.modify_and_apply()
methods in classKubernetesObject
to fail with assert if unsuccessfulThe text was updated successfully, but these errors were encountered: