Skip to content

[Bug]: TestSuccessfulProbeCleanupRetainsOwnershipAfterSaturatedHandoff flaky in func_unary_test.go #26253

Closed

Description

@matrix-meow

Problem

TestSuccessfulProbeCleanupRetainsOwnershipAfterSaturatedHandoff in pkg/sql/plan/function/func_unary_test.go:9311 fails intermittently:

Error: Should be true
Elapsed: 2.01s
Error Trace: func_unary_test.go:9311 -> func_unary_test.go:7528 -> func_unary_test.go:9261

Recent Occurrences

Date PR/Run Job
2026-07-27 PR #26248 UT Test on Ubuntu/x86

Notes

  • The test name suggests probe/ownership/handoff logic, which is unusual for func_unary_test.go
  • The failure is "Should be true" with no additional context
  • The test ran for 2.01s which suggests it may involve timeouts or timing-sensitive operations

Suggested Fix

  1. Investigate what this test actually validates (probe cleanup / ownership retention)
  2. Check if the test has timing dependencies that make it flaky under CI load
  3. Consider moving the test to a more appropriate test file if it's not related to unary functions

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions