From f454a6fac10537ccab23c0beff87069abe74cfe8 Mon Sep 17 00:00:00 2001 From: ncabatoff Date: Tue, 23 Jul 2019 13:26:36 -0400 Subject: [PATCH] TestCassandraBackend times out pretty often on the ent build. Bump (#7130) its timeout from 5s to 15s in the hopes that helps. The theory is that since I haven't seen this on the OSS side, it's failing because the ent side is heavier in terms of test load and thus the tests face more resource contention. --- physical/cassandra/cassandra_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/physical/cassandra/cassandra_test.go b/physical/cassandra/cassandra_test.go index 86cca984f8..cd30248547 100644 --- a/physical/cassandra/cassandra_test.go +++ b/physical/cassandra/cassandra_test.go @@ -78,7 +78,7 @@ func prepareCassandraTestContainer(t *testing.T) (func(), string) { cluster := gocql.NewCluster("127.0.0.1") p, _ := strconv.Atoi(resource.GetPort("9042/tcp")) cluster.Port = p - cluster.Timeout = 5 * time.Second + cluster.Timeout = 15 * time.Second sess, err := cluster.CreateSession() if err != nil { return err