-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROX-19281: Fix nil pointer dereference in E2E tests when Central is not ready #1216
Conversation
a84cab4
to
b090373
Compare
b090373
to
b61cf27
Compare
Apparently stuck in /retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kovayur, porridge The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Same result... something fishy is going on...
|
/retest |
Something is wrong here...
|
b61cf27
to
47b51b9
Compare
New changes are detected. LGTM label has been removed. |
* Use Openshift golang-1.20 builder image (#1275) * Add kind cluster type (#1256) * Refactor operator config to use field.Error (#1276) * fix typo causing skip of DNS creation on restore (#1277) * ROX-19718: Add flag for fleetmanager gitops (#1283) * Specify reconcile interval in workers (#1265) * Add request body to rotate-secrets endpoint (#1272) * Disable automounting for egress proxy (#1286) * ROX-19808: Remove GitOps admin handler (#1290) Remove GitOps admin handler * ROX-19692: Add a release preparation workflow. (#1284) Prepare release workflow. * ROX-19735 - add operator configs to gitops (#1278) * ROX-19692: New workflow to auto-create production merge PRs. (#1291) New workflow to auto-create production merge PRs. * ROX-19810: Bump controller-runtime and stackrox deps (#1292) * Bump controller-runtime and stackrox deps * Bump openshift/api * Call /current_account before reserving quota (#1289) * Remove multi target build (#1259) * fixed restore endpoint (#1298) * ROX-19281: Fix nil pointer dereference in E2E tests when Central is not ready (#1216) * Rename ACSMS -> ACSCS in dev scripts (#1252) * Log result of current_account call execution (#1297) * Cleanup errors.go (#1299) --------- Co-authored-by: Vlad Bologa <[email protected]> Co-authored-by: Simon Bäumer <[email protected]> Co-authored-by: Johannes Malsam <[email protected]> Co-authored-by: Ludovic Cleroux <[email protected]> Co-authored-by: Ivan Degtiarenko <[email protected]> Co-authored-by: Alex Rukletsov <[email protected]> Co-authored-by: Marcin Owsiany <[email protected]> Co-authored-by: Aleksandr Kurlov <[email protected]> Co-authored-by: Yury Kovalev <[email protected]>
Description
When central state transition to ready and the test fails with timeout,
central
reference remainsnil
.This change makes nil pointer dereference not possible and adds some information to the error message to make it more clear that Central is in a
PENDING
state.Checklist (Definition of Done)
Test manual
ROX-12345: ...
Test manual
CI