Skip to content

Commit 9722cde

Browse files
torcolvinCopilot
andauthored
CBG-4993 support views in test harness with CBS 8.0 (#7872)
Co-authored-by: Copilot <[email protected]>
1 parent bec8870 commit 9722cde

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

base/main_test_cluster.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,11 @@ func (c *tbpCluster) insertBucket(name string, quotaMB int, conflictResolution X
232232
body.Set("name", name)
233233
body.Set("numReplicas", strconv.Itoa(numReplicas))
234234
body.Set("ramQuotaMB", fmt.Sprintf("%d", quotaMB))
235+
// for GSI, use default storage backend: magma for 8.0+ or couchstore for <8.0
236+
// views aren't supported with magma
237+
if TestsDisableGSI() {
238+
body.Set("storageBackend", "couchstore")
239+
}
235240
output, status, err := c.MgmtRequest(
236241
http.MethodPost,
237242
"/pools/default/buckets",

0 commit comments

Comments
 (0)