@@ -35,7 +35,7 @@ func libCodeWithConfig(libName string) string {
3535}
3636
3737// TODO: Drop Gears 
38- var  _  =  XDescribe ("RedisGears commands" , Label ("gears" ), func () {
38+ var  _  =  Describe ("RedisGears commands" , Label ("gears" ), func () {
3939	ctx  :=  context .TODO ()
4040	var  client  * redis.Client 
4141
@@ -50,6 +50,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
5050	})
5151
5252	It ("should TFunctionLoad, TFunctionLoadArgs and TFunctionDelete " , Label ("gears" , "tfunctionload" ), func () {
53+ 		SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
5354		resultAdd , err  :=  client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
5455		Expect (err ).NotTo (HaveOccurred ())
5556		Expect (resultAdd ).To (BeEquivalentTo ("OK" ))
@@ -59,6 +60,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
5960		Expect (resultAdd ).To (BeEquivalentTo ("OK" ))
6061	})
6162	It ("should TFunctionList" , Label ("gears" , "tfunctionlist" ), func () {
63+ 		SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
6264		resultAdd , err  :=  client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
6365		Expect (err ).NotTo (HaveOccurred ())
6466		Expect (resultAdd ).To (BeEquivalentTo ("OK" ))
@@ -72,6 +74,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
7274	})
7375
7476	It ("should TFCall" , Label ("gears" , "tfcall" ), func () {
77+ 		SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
7578		var  resultAdd  interface {}
7679		resultAdd , err  :=  client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
7780		Expect (err ).NotTo (HaveOccurred ())
@@ -82,6 +85,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
8285	})
8386
8487	It ("should TFCallArgs" , Label ("gears" , "tfcallargs" ), func () {
88+ 		SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
8589		var  resultAdd  interface {}
8690		resultAdd , err  :=  client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
8791		Expect (err ).NotTo (HaveOccurred ())
@@ -93,6 +97,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
9397	})
9498
9599	It ("should TFCallASYNC" , Label ("gears" , "TFCallASYNC" ), func () {
100+ 		SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
96101		var  resultAdd  interface {}
97102		resultAdd , err  :=  client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
98103		Expect (err ).NotTo (HaveOccurred ())
@@ -103,6 +108,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
103108	})
104109
105110	It ("should TFCallASYNCArgs" , Label ("gears" , "TFCallASYNCargs" ), func () {
111+ 		SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
106112		var  resultAdd  interface {}
107113		resultAdd , err  :=  client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
108114		Expect (err ).NotTo (HaveOccurred ())
0 commit comments