Use ParseUint in E2E tests
@@ -118,9 +118,9 @@ func TestRBAC(t *testing.T) {
"--type", defaultHandler.Type,
"--mutator", defaultHandler.Mutator,
"--command", defaultHandler.Command,
- "--timeout", strconv.Itoa(defaultHandler.Timeout),
+ "--timeout", strconv.FormatUint(uint64(defaultHandler.Timeout), 10),
"--socket-host", defaultHandler.Socket.Host,
- "--socket-port", strconv.Itoa(defaultHandler.Socket.Port),
+ "--socket-port", strconv.FormatUint(uint64(defaultHandler.Socket.Port), 10),
"--handlers", strings.Join(defaultHandler.Handlers, ","),
"--organization", defaultHandler.Organization,
"--environment", defaultHandler.Environment,
@@ -134,9 +134,9 @@ func TestRBAC(t *testing.T) {
"--type", devHandler.Type,
"--mutator", devHandler.Mutator,
"--command", devHandler.Command,
- "--timeout", strconv.Itoa(devHandler.Timeout),
+ "--timeout", strconv.FormatUint(uint64(devHandler.Timeout), 10),
"--socket-host", devHandler.Socket.Host,
- "--socket-port", strconv.Itoa(devHandler.Socket.Port),
+ "--socket-port", strconv.FormatUint(uint64(devHandler.Socket.Port), 10),
"--handlers", strings.Join(devHandler.Handlers, ","),
"--organization", devHandler.Organization,
"--environment", devHandler.Environment,
@@ -150,9 +150,9 @@ func TestRBAC(t *testing.T) {
"--type", prodHandler.Type,
"--mutator", prodHandler.Mutator,
"--command", prodHandler.Command,
- "--timeout", strconv.Itoa(prodHandler.Timeout),
+ "--timeout", strconv.FormatUint(uint64(prodHandler.Timeout), 10),
"--socket-host", prodHandler.Socket.Host,
- "--socket-port", strconv.Itoa(prodHandler.Socket.Port),
+ "--socket-port", strconv.FormatUint(uint64(prodHandler.Socket.Port), 10),
"--handlers", strings.Join(prodHandler.Handlers, ","),
"--organization", prodHandler.Organization,
"--environment", prodHandler.Environment,
