Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
couchbaseEd committed Jul 16, 2024
1 parent 9d90f22 commit 23efcf7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions modules/couchbase/couchbase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
// }
)
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 23efcf7

Please sign in to comment.