Merge pull request #69470 from immutableT/envelope-flake-test-fix

Increase time-out of kms gRPC service concurrency tests.
This commit is contained in:
k8s-ci-robot 2018-10-05 18:48:04 -07:00 committed by GitHub
commit 844d686591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {