Skip to content

Commit 0f865eb

Browse files
committed
x
1 parent 4e8dd4a commit 0f865eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

internal/controllers/postgresql_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func setupPostgreSQLContainer(ctx context.Context, image string) (*postgresqlCon
7272

7373
var _ = Describe("PostgreSQL", func() {
7474
const (
75-
timeout = time.Second * 40
75+
timeout = time.Second * 10
7676
interval = time.Second * 1
7777
)
7878

@@ -472,6 +472,9 @@ var _ = Describe("PostgreSQL", func() {
472472
},
473473
Spec: infrav1beta1.PostgreSQLDatabaseSpec{
474474
DatabaseSpec: &infrav1beta1.DatabaseSpec{
475+
Timeout: &metav1.Duration{
476+
Duration: time.Millisecond * 100,
477+
},
475478
Address: container.URI,
476479
RootSecret: &infrav1beta1.SecretReference{
477480
Name: rootSecret.Name,

0 commit comments

Comments
 (0)