mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-28 04:10:44 -04:00
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:
parent
5bac860dad
commit
f454a6fac1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue