Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
862e2fe2
Commit
862e2fe2
authored
Jun 02, 2016
by
Jerzy Szczepkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed problem with too long name in e2e autoscaling tests.
Fixed problem with too long name in e2e autoscaling tests.
parent
0274e72d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
autoscaling_utils.go
test/e2e/autoscaling_utils.go
+2
-2
No files found.
test/e2e/autoscaling_utils.go
View file @
862e2fe2
...
@@ -99,7 +99,7 @@ func newResourceConsumer(name, kind string, replicas, initCPUTotal, initMemoryTo
...
@@ -99,7 +99,7 @@ func newResourceConsumer(name, kind string, replicas, initCPUTotal, initMemoryTo
runServiceAndWorkloadForResourceConsumer
(
f
.
Client
,
f
.
Namespace
.
Name
,
name
,
kind
,
replicas
,
cpuLimit
,
memLimit
)
runServiceAndWorkloadForResourceConsumer
(
f
.
Client
,
f
.
Namespace
.
Name
,
name
,
kind
,
replicas
,
cpuLimit
,
memLimit
)
rc
:=
&
ResourceConsumer
{
rc
:=
&
ResourceConsumer
{
name
:
name
,
name
:
name
,
controllerName
:
name
+
"-c
ontroller
"
,
controllerName
:
name
+
"-c
trl
"
,
kind
:
kind
,
kind
:
kind
,
framework
:
f
,
framework
:
f
,
cpu
:
make
(
chan
int
),
cpu
:
make
(
chan
int
),
...
@@ -361,7 +361,7 @@ func runServiceAndWorkloadForResourceConsumer(c *client.Client, ns, name, kind s
...
@@ -361,7 +361,7 @@ func runServiceAndWorkloadForResourceConsumer(c *client.Client, ns, name, kind s
}
}
By
(
fmt
.
Sprintf
(
"Running controller"
))
By
(
fmt
.
Sprintf
(
"Running controller"
))
controllerName
:=
name
+
"-c
ontroller
"
controllerName
:=
name
+
"-c
trl
"
_
,
err
=
c
.
Services
(
ns
)
.
Create
(
&
api
.
Service
{
_
,
err
=
c
.
Services
(
ns
)
.
Create
(
&
api
.
Service
{
ObjectMeta
:
api
.
ObjectMeta
{
ObjectMeta
:
api
.
ObjectMeta
{
Name
:
controllerName
,
Name
:
controllerName
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment