Skip to content

E2E test roleassignment-dependency fix racy - #861

Merged
mandre merged 1 commit into
k-orc:mainfrom
dlaw4608:role_assignment_dep_test
Jul 23, 2026
Merged

E2E test roleassignment-dependency fix racy #861
mandre merged 1 commit into
k-orc:mainfrom
dlaw4608:role_assignment_dep_test

Conversation

@dlaw4608

Copy link
Copy Markdown
Contributor

The fix replaces the racy Project status condition assertions with CEL expressions that check what actually matters: the Project has a deletionTimestamp (deletion was requested) and the openstack.k-orc.cloud/roleassignment finalizer is still blocking it. The RoleAssignment assertions stay as-is since they're stable , the RoleAssignment itself isn't being deleted, so its conditions won't race. CEL expressions from security group used as inspiration https://github.com/k-orc/openstack-resource-controller/blob/main/internal/controllers/securitygroup/tests/securitygroup-dependency/02-assert.yaml

In response to OpenStack-Gazpacho roleassignment-dependency racy failure in #853

…ency test — CEL expressions for the dependency being deleted (avoids

  racing with the Project controller's status updates), and standard status assertions for the RoleAssignment which isn't being deleted and has stable conditions.

Signed-off-by: Daniel Lawton <dlawton@redhat.com>
@github-actions github-actions Bot added the semver:patch No API change label Jul 21, 2026
@mandre
mandre added this pull request to the merge queue Jul 23, 2026
Merged via the queue into k-orc:main with commit 9a285f0 Jul 23, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants