Increase time-out of kms-service concurrency tests.

Kubernetes-commit: fd64c3bac6f2a611a154c86c93fd77404404aba5
This commit is contained in:
immutableT 2018-10-05 16:22:00 +00:00 committed by Kubernetes Publisher
parent d8dbc75a72
commit d0ea04d52d
1 changed files with 2 additions and 6 deletions

View File

@ -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, 15*time.Second)
if err != nil {
t.Fatalf("failed to create envelope service, error: %v", err)
}
defer destroyService(service)
var wg sync.WaitGroup
n := 1000
n := 100
wg.Add(n)
for i := 0; i < n; i++ {
go func() {