@@ -35,7 +35,7 @@ func libCodeWithConfig(libName string) string {
35
35
}
36
36
37
37
// TODO: Drop Gears
38
- var _ = XDescribe ("RedisGears commands" , Label ("gears" ), func () {
38
+ var _ = Describe ("RedisGears commands" , Label ("gears" ), func () {
39
39
ctx := context .TODO ()
40
40
var client * redis.Client
41
41
@@ -50,6 +50,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
50
50
})
51
51
52
52
It ("should TFunctionLoad, TFunctionLoadArgs and TFunctionDelete " , Label ("gears" , "tfunctionload" ), func () {
53
+ SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
53
54
resultAdd , err := client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
54
55
Expect (err ).NotTo (HaveOccurred ())
55
56
Expect (resultAdd ).To (BeEquivalentTo ("OK" ))
@@ -59,6 +60,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
59
60
Expect (resultAdd ).To (BeEquivalentTo ("OK" ))
60
61
})
61
62
It ("should TFunctionList" , Label ("gears" , "tfunctionlist" ), func () {
63
+ SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
62
64
resultAdd , err := client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
63
65
Expect (err ).NotTo (HaveOccurred ())
64
66
Expect (resultAdd ).To (BeEquivalentTo ("OK" ))
@@ -72,6 +74,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
72
74
})
73
75
74
76
It ("should TFCall" , Label ("gears" , "tfcall" ), func () {
77
+ SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
75
78
var resultAdd interface {}
76
79
resultAdd , err := client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
77
80
Expect (err ).NotTo (HaveOccurred ())
@@ -82,6 +85,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
82
85
})
83
86
84
87
It ("should TFCallArgs" , Label ("gears" , "tfcallargs" ), func () {
88
+ SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
85
89
var resultAdd interface {}
86
90
resultAdd , err := client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
87
91
Expect (err ).NotTo (HaveOccurred ())
@@ -93,6 +97,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
93
97
})
94
98
95
99
It ("should TFCallASYNC" , Label ("gears" , "TFCallASYNC" ), func () {
100
+ SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
96
101
var resultAdd interface {}
97
102
resultAdd , err := client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
98
103
Expect (err ).NotTo (HaveOccurred ())
@@ -103,6 +108,7 @@ var _ = XDescribe("RedisGears commands", Label("gears"), func() {
103
108
})
104
109
105
110
It ("should TFCallASYNCArgs" , Label ("gears" , "TFCallASYNCargs" ), func () {
111
+ SkipAfterRedisVersion (7.2 , "gears are not working in later versions" )
106
112
var resultAdd interface {}
107
113
resultAdd , err := client .TFunctionLoad (ctx , libCode ("lib1" )).Result ()
108
114
Expect (err ).NotTo (HaveOccurred ())
0 commit comments