Fix arm (32-bit) e2e.test compile failure

This commit is contained in:
Lucas Käldström 2017-09-03 18:49:29 +03:00
parent b00353c3e3
commit 64be85e9de
No known key found for this signature in database
GPG Key ID: 3FA3783D77751514

View File

@ -33,6 +33,10 @@ import (
"k8s.io/client-go/dynamic"
)
const (
noxuInstanceNum int64 = 9223372036854775807
)
//NewRandomNameCustomResourceDefinition generates a CRD with random name to avoid name conflict in e2e tests
func NewRandomNameCustomResourceDefinition(scope apiextensionsv1beta1.ResourceScope) *apiextensionsv1beta1.CustomResourceDefinition {
// ensure the singular doesn't end in an s for now
@ -84,7 +88,7 @@ func NewNoxuInstance(namespace, name string) *unstructured.Unstructured {
"key": "value",
},
"num": map[string]interface{}{
"num1": 9223372036854775807,
"num1": noxuInstanceNum,
"num2": 1000000,
},
},