Skip to content

Fix panic by avoiding Expect inside Eventually#1595

Merged
istio-testing merged 1 commit intoistio-ecosystem:mainfrom
sridhargaddam:fix-flake-controlplane
Feb 12, 2026
Merged

Fix panic by avoiding Expect inside Eventually#1595
istio-testing merged 1 commit intoistio-ecosystem:mainfrom
sridhargaddam:fix-flake-controlplane

Conversation

@sridhargaddam
Copy link
Copy Markdown
Contributor

The control plane tests were using Expect() inside Eventually which was causing panic and test failure on the first error, defeating the purpose of Eventually's retry mechanism.

The control plane tests were using Expect() inside Eventually
which was causing panic and test failure on the first error,
defeating the purpose of Eventually's retry mechanism.

Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
@sridhargaddam sridhargaddam requested a review from a team as a code owner February 12, 2026 11:21
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.65%. Comparing base (e384562) to head (6e76023).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1595      +/-   ##
==========================================
- Coverage   80.73%   80.65%   -0.09%     
==========================================
  Files          50       50              
  Lines        2466     2466              
==========================================
- Hits         1991     1989       -2     
- Misses        349      350       +1     
- Partials      126      127       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@istio-testing istio-testing merged commit df7c3ff into istio-ecosystem:main Feb 12, 2026
16 of 17 checks passed
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 12, 2026
* upstream/main:
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 12, 2026
* upstream/main:
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 12, 2026
* upstream/main:
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 12, 2026
* upstream/main:
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 13, 2026
* upstream/main:
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 13, 2026
* upstream/main:
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 13, 2026
* upstream/main:
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1599)
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 13, 2026
* upstream/main:
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1599)
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 13, 2026
* upstream/main:
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1599)
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 13, 2026
* upstream/main:
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1599)
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
openshift-service-mesh-bot pushed a commit to openshift-service-mesh-bot/sail-operator that referenced this pull request Feb 13, 2026
* upstream/main:
  Automator: Update dependencies in istio-ecosystem/sail-operator@main (istio-ecosystem#1599)
  Fix scorecard test failure (istio-ecosystem#1598)
  Fix panic by avoiding Expect inside Eventually (istio-ecosystem#1595)
  Make sure that FipsEnabled is restored to original value
  Enable TLSv1.2 for ZTunnel when in FIPS mode
dgn pushed a commit to dgn/sail-operator that referenced this pull request Mar 17, 2026
The control plane tests were using Expect() inside Eventually
which was causing panic and test failure on the first error,
defeating the purpose of Eventually's retry mechanism.

Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants