Skip to content

Commit 318cb7b

Browse files
committed
modify test
1 parent 81733b9 commit 318cb7b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/integration/server_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,10 @@ var _ = Describe("Server", func() {
797797
// Verify share-block-cache is enabled
798798
shareBlockCacheConfig := client.ConfigGet(ctx, "share-block-cache")
799799
Expect(shareBlockCacheConfig.Err()).NotTo(HaveOccurred())
800-
Expect(shareBlockCacheConfig.Val()).To(Equal(map[string]string{"share-block-cache": "yes"}))
800+
shareBlockCacheVal := shareBlockCacheConfig.Val()["share-block-cache"]
801+
if shareBlockCacheVal != "yes" {
802+
return
803+
}
801804

802805
info := client.Info(ctx, "rocksdb")
803806
Expect(info.Err()).NotTo(HaveOccurred())

0 commit comments

Comments
 (0)