Use the unversioned REST client for this check.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
6a8f377781
commit
165fce67af
@ -270,7 +270,7 @@ func TestE2EFullIntegration(t *testing.T) {
|
|||||||
require.Equal(t, "you have been logged in and may now close this tab", msg)
|
require.Equal(t, "you have been logged in and may now close this tab", msg)
|
||||||
|
|
||||||
// Verify that we can actually reach the endpoint in the kubeconfig.
|
// Verify that we can actually reach the endpoint in the kubeconfig.
|
||||||
restClient, err := rest.RESTClientFor(restConfig)
|
restClient, err := rest.UnversionedRESTClientFor(restConfig)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Eventually(t, func() bool {
|
require.Eventually(t, func() bool {
|
||||||
var status int
|
var status int
|
||||||
|
Loading…
Reference in New Issue
Block a user