Skip to content
callcount

k8s.io/kubernetes/test/utils/ktesting.TContext.ExpectNoError

third-party

The 3332nd most-called third-party method by production calls. Called 273 times across 1 modules; 179 of those run outside tests and generated code.

No change in production calls since 2026-W37.

All of k8s.io/kubernetes/test/utils/ktesting → Docs on pkg.go.dev ↗

prod calls
179
non-test, non-generated
all calls
273
total callsites
modules
1
distinct callers
in loop
24%
of prod calls
in tests
34%
94 calls
resolved
100%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Concrete method3%A method on a value whose type is known exactly.
  • Embedded method97%Reached through an embedded type.

who calls this

Notable callers

Production calls into TContext.ExpectNoError from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 273, prioritizing in-loop and non-test usage. We link to source, never display it.

TContext.ExpectNoError · 12 of 273 callsites
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/uses_all_resources.go:63

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/partitionable_devices.go:78

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/partitionable_devices.go:88

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/utils/localupcluster/localupcluster.go:91

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/utils/localupcluster/localupcluster.go:95

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/device_taints.go:115

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/pod_group.go:126

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/e2e/storage/utils/create.go:165

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/core.go:206

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/dra/core.go:208

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/scheduler_perf/dra.go:235

    in loop
  • k8s.io/kubernetes @v1.37.0

    test/integration/scheduler_perf/dra.go:272

    in loop

top callers

The modules that reach for it

The modules that call TContext.ExpectNoError most in this snapshot.

  • k8s.io/kubernetes273100%

siblings

More from k8s.io/kubernetes/test/utils/ktesting

The other most-called members in this package. See all →