@@ -345,7 +345,7 @@ var _ = Describe("Commands", func() {
345345		})
346346
347347		It ("should ConfigGet Modules" , func () {
348- 			SkipBeforeRedisMajor (8 , "Config doesn't include modules before Redis 8" )
348+ 			SkipBeforeRedisVersion (8 , "Config doesn't include modules before Redis 8" )
349349			expected  :=  map [string ]string {
350350				"search-*" : "search-timeout" ,
351351				"ts-*" :     "ts-retention-policy" ,
@@ -380,7 +380,7 @@ var _ = Describe("Commands", func() {
380380		})
381381
382382		It ("should ConfigGet with Modules" , Label ("NonRedisEnterprise" ), func () {
383- 			SkipBeforeRedisMajor (8 , "config get won't return modules configs before redis 8" )
383+ 			SkipBeforeRedisVersion (8 , "config get won't return modules configs before redis 8" )
384384			configGet  :=  client .ConfigGet (ctx , "*" )
385385			Expect (configGet .Err ()).NotTo (HaveOccurred ())
386386			Expect (configGet .Val ()).To (HaveKey ("maxmemory" ))
@@ -391,7 +391,7 @@ var _ = Describe("Commands", func() {
391391		})
392392
393393		It ("should ConfigSet FT DIALECT" , func () {
394- 			SkipBeforeRedisMajor (8 , "config doesn't include modules before Redis 8" )
394+ 			SkipBeforeRedisVersion (8 , "config doesn't include modules before Redis 8" )
395395			defaultState , err  :=  client .ConfigGet (ctx , "search-default-dialect" ).Result ()
396396			Expect (err ).NotTo (HaveOccurred ())
397397
@@ -437,13 +437,13 @@ var _ = Describe("Commands", func() {
437437		})
438438
439439		It ("should ConfigSet fail for ReadOnly" , func () {
440- 			SkipBeforeRedisMajor (8 , "Config doesn't include modules before Redis 8" )
440+ 			SkipBeforeRedisVersion (8 , "Config doesn't include modules before Redis 8" )
441441			_ , err  :=  client .ConfigSet (ctx , "search-max-doctablesize" , "100000" ).Result ()
442442			Expect (err ).To (HaveOccurred ())
443443		})
444444
445445		It ("should ConfigSet Modules" , func () {
446- 			SkipBeforeRedisMajor (8 , "Config doesn't include modules before Redis 8" )
446+ 			SkipBeforeRedisVersion (8 , "Config doesn't include modules before Redis 8" )
447447			defaults  :=  map [string ]string {}
448448			expected  :=  map [string ]string {
449449				"search-timeout" :      "100" ,
@@ -484,7 +484,7 @@ var _ = Describe("Commands", func() {
484484		})
485485
486486		It ("should Fail ConfigSet Modules" , func () {
487- 			SkipBeforeRedisMajor (8 , "Config doesn't include modules before Redis 8" )
487+ 			SkipBeforeRedisVersion (8 , "Config doesn't include modules before Redis 8" )
488488			expected  :=  map [string ]string {
489489				"search-timeout" :      "-100" ,
490490				"ts-retention-policy" : "-10" ,
@@ -533,7 +533,7 @@ var _ = Describe("Commands", func() {
533533		})
534534
535535		It ("should Info Modules" , Label ("redis.info" ), func () {
536- 			SkipBeforeRedisMajor (8 , "modules are included in info for Redis Version >= 8" )
536+ 			SkipBeforeRedisVersion (8 , "modules are included in info for Redis Version >= 8" )
537537			info  :=  client .Info (ctx )
538538			Expect (info .Err ()).NotTo (HaveOccurred ())
539539			Expect (info .Val ()).NotTo (BeNil ())
@@ -558,7 +558,7 @@ var _ = Describe("Commands", func() {
558558		})
559559
560560		It ("should InfoMap Modules" , Label ("redis.info" ), func () {
561- 			SkipBeforeRedisMajor (8 , "modules are included in info for Redis Version >= 8" )
561+ 			SkipBeforeRedisVersion (8 , "modules are included in info for Redis Version >= 8" )
562562			info  :=  client .InfoMap (ctx )
563563			Expect (info .Err ()).NotTo (HaveOccurred ())
564564			Expect (info .Val ()).NotTo (BeNil ())
0 commit comments