cmd/k8s-operator/e2e: mark TestIngress flaky (#18773)
This commit is contained in:
@@ -70,6 +70,7 @@ const (
|
||||
var (
|
||||
tsClient *tailscale.Client // For API calls to control.
|
||||
tnClient *tsnet.Server // For testing real tailnet traffic.
|
||||
restCfg *rest.Config // For constructing a client-go client if necessary.
|
||||
kubeClient client.WithWatch // For k8s API calls.
|
||||
|
||||
//go:embed certs/pebble.minica.crt
|
||||
@@ -141,7 +142,7 @@ func runTests(m *testing.M) (int, error) {
|
||||
}
|
||||
|
||||
// Cluster client setup.
|
||||
restCfg, err := clientcmd.BuildConfigFromFlags("", kubeconfig)
|
||||
restCfg, err = clientcmd.BuildConfigFromFlags("", kubeconfig)
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("error loading kubeconfig: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user