From 23efcf775c2320495b25b1608154b89bd08b9562 Mon Sep 17 00:00:00 2001 From: Edward Miller Date: Tue, 16 Jul 2024 14:19:37 +0100 Subject: [PATCH] update test --- modules/couchbase/couchbase_test.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/couchbase/couchbase_test.go b/modules/couchbase/couchbase_test.go index f05c08d16c7..9a320dc98c5 100644 --- a/modules/couchbase/couchbase_test.go +++ b/modules/couchbase/couchbase_test.go @@ -12,7 +12,7 @@ import ( const ( // dockerImages { - enterpriseEdition = "couchbase:enterprise-7.1.3" + enterpriseEdition = "couchbase:enterprise-7.6.1" communityEdition = "couchbase:community-7.1.1" // } ) @@ -54,7 +54,15 @@ func TestCouchbaseWithEnterpriseContainer(t *testing.T) { ctx := context.Background() bucketName := "testBucket" - container, err := tccouchbase.Run(ctx, enterpriseEdition, tccouchbase.WithBuckets(tccouchbase.NewBucket(bucketName))) + bucket := tccouchbase.NewBucket(bucketName). + WithQuota(100). + WithReplicas(0). + WithFlushEnabled(true). + WithPrimaryIndex(true) + container, err := tccouchbase.Run(ctx, + "couchbase:enterprise-7.6.1", + tccouchbase.WithBuckets(bucket), + ) if err != nil { t.Fatal(err) }