Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEtcdHealthCheck (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/healthcheck_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package etcd3
    
    import (
    	"testing"
    )
    
    func TestEtcdHealthCheck(t *testing.T) {
    	tests := []struct {
    		data      string
    		expectErr bool
    	}{
    		{
    			data:      "{\"health\": \"true\"}",
    			expectErr: false,
    		},
    		{
    			data:      "{\"health\": \"false\"}",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 02 08:39:12 UTC 2019
    - 1.1K bytes
    - Viewed (0)
Back to top