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
844d6865
Unverified
Commit
844d6865
authored
Oct 05, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69470 from immutableT/envelope-flake-test-fix
Increase time-out of kms gRPC service concurrency tests.
parents
0abb0f53
fd64c3ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
grpc_service_unix_test.go
.../storage/value/encrypt/envelope/grpc_service_unix_test.go
+2
-6
No files found.
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go
View file @
844d6865
...
...
@@ -160,10 +160,6 @@ func TestUnsupportedVersion(t *testing.T) {
}
}
func
TestConcurrentAccess
(
t
*
testing
.
T
)
{
}
// Normal encryption and decryption operation.
func
TestGRPCService
(
t
*
testing
.
T
)
{
// Start a test gRPC server.
...
...
@@ -208,14 +204,14 @@ func TestGRPCServiceConcurrentAccess(t *testing.T) {
defer
f
.
server
.
Stop
()
// Create the gRPC client service.
service
,
err
:=
NewGRPCService
(
endpoint
,
1
*
time
.
Second
)
service
,
err
:=
NewGRPCService
(
endpoint
,
1
5
*
time
.
Second
)
if
err
!=
nil
{
t
.
Fatalf
(
"failed to create envelope service, error: %v"
,
err
)
}
defer
destroyService
(
service
)
var
wg
sync
.
WaitGroup
n
:=
100
0
n
:=
100
wg
.
Add
(
n
)
for
i
:=
0
;
i
<
n
;
i
++
{
go
func
()
{
...
...
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