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.
This commit is contained in:
ncabatoff 2019-07-23 13:26:36 -04:00 committed by GitHub
parent 5bac860dad
commit f454a6fac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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