2020-07-08 05:20:34 +00:00
|
|
|
/*
|
|
|
|
Copyright 2020 VMware, Inc.
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2020-07-08 01:42:14 +00:00
|
|
|
package integration
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os/exec"
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestGetNodes(t *testing.T) {
|
|
|
|
err := exec.Command("kubectl", "get", "nodes").Run()
|
|
|
|
require.NoError(t, err)
|
|
|
|
}
|