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
48ea20a7
Commit
48ea20a7
authored
Feb 05, 2016
by
Wojciech Tyczynski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Higher QPS limits in load.go test
parent
0ab09296
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
load.go
test/e2e/load.go
+12
-2
No files found.
test/e2e/load.go
View file @
48ea20a7
...
...
@@ -70,7 +70,17 @@ var _ = Describe("Load capacity", func() {
framework
.
NamespaceDeletionTimeout
=
time
.
Hour
BeforeEach
(
func
()
{
c
=
framework
.
Client
// Explicitly create a client with higher QPS limits.
config
,
err
:=
loadConfig
()
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
config
.
QPS
=
50
config
.
Burst
=
100
c
,
err
=
client
.
New
(
config
)
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
if
c
.
Client
.
Timeout
==
0
{
c
.
Client
.
Timeout
=
singleCallTimeout
}
ns
=
framework
.
Namespace
.
Name
nodes
:=
ListSchedulableNodesOrDie
(
c
)
nodeCount
=
len
(
nodes
.
Items
)
...
...
@@ -79,7 +89,7 @@ var _ = Describe("Load capacity", func() {
// Terminating a namespace (deleting the remaining objects from it - which
// generally means events) can affect the current run. Thus we wait for all
// terminating namespace to be finally deleted before starting this test.
err
:
=
checkTestingNSDeletedExcept
(
c
,
ns
)
err
=
checkTestingNSDeletedExcept
(
c
,
ns
)
expectNoError
(
err
)
expectNoError
(
resetMetrics
(
c
))
...
...
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