Skip to content

Commit

Permalink
UPSTREAM: 125337: Account for differences in fork test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelSpeed authored and soltysh committed Jul 1, 2024
1 parent d45cff7 commit 7038865
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/integration/cloudprovider/ccm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,13 @@ func Test_ExternalCloudProviderNodeAddresses(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()

defaultTestServerFlags := []string{
"--endpoint-reconciler-type=none", // Disable Endpoints Reconciler so it does not keep failing trying to use 127.0.0.1 as a valid Endpoint.
"--disable-admission-plugins=ServiceAccount", // Disable ServiceAccount admission plugin as we don't have serviceaccount controller running.
}

// Disable ServiceAccount admission plugin as we don't have serviceaccount controller running.
server := kubeapiservertesting.StartTestServerOrDie(t, nil, framework.DefaultTestServerFlags(), framework.SharedEtcd())
server := kubeapiservertesting.StartTestServerOrDie(t, nil, defaultTestServerFlags, framework.SharedEtcd())
defer server.TearDownFn()

client := clientset.NewForConfigOrDie(server.ClientConfig)
Expand Down

0 comments on commit 7038865

Please sign in to comment.