Skip to content

Commit

Permalink
Update tests to handle RemoteRequestHeaderUID
Browse files Browse the repository at this point in the history
Signed-off-by: Monis Khan <mok@microsoft.com>

Kubernetes-commit: 779d76176afe96f7a8b83c14cb6370650c9464a4
  • Loading branch information
enj authored and k8s-publishing-bot committed Dec 4, 2024
1 parent af0d53b commit ceed2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion featuregate/testing/feature_gate.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func SetFeatureGateEmulationVersionDuringTest(tb TB, gate featuregate.FeatureGat
detectParallelOverrideCleanup := detectParallelOverrideEmulationVersion(tb, ver)
originalEmuVer := gate.(featuregate.MutableVersionedFeatureGate).EmulationVersion()
if err := gate.(featuregate.MutableVersionedFeatureGate).SetEmulationVersion(ver); err != nil {
tb.Fatalf("failed to set emulation version to %s during test", ver.String())
tb.Fatalf("failed to set emulation version to %s during test: %v", ver.String(), err)
}
tb.Cleanup(func() {
tb.Helper()
Expand Down

0 comments on commit ceed2e3

Please sign in to comment.