@@ -1233,7 +1233,7 @@ var _ = Describe("Commands", func() {
1233
1233
mSet = client .MSet (ctx , & set {
1234
1234
Set1 : "val1" ,
1235
1235
Set2 : 1024 ,
1236
- Set3 : 2 * time .Minute ,
1236
+ Set3 : 2 * time .Millisecond ,
1237
1237
Set4 : nil ,
1238
1238
Set5 : map [string ]interface {}{"k1" : 1 },
1239
1239
})
@@ -1245,7 +1245,7 @@ var _ = Describe("Commands", func() {
1245
1245
Expect (mGet .Val ()).To (Equal ([]interface {}{
1246
1246
"val1" ,
1247
1247
"1024" ,
1248
- strconv .Itoa (int (2 * time .Minute .Nanoseconds ())),
1248
+ strconv .Itoa (int (2 * time .Millisecond .Nanoseconds ())),
1249
1249
"" ,
1250
1250
}))
1251
1251
})
@@ -1296,7 +1296,7 @@ var _ = Describe("Commands", func() {
1296
1296
mSetNX = client .MSetNX (ctx , & set {
1297
1297
Set1 : "val1" ,
1298
1298
Set2 : 1024 ,
1299
- Set3 : 2 * time .Minute ,
1299
+ Set3 : 2 * time .Millisecond ,
1300
1300
Set4 : nil ,
1301
1301
Set5 : map [string ]interface {}{"k1" : 1 },
1302
1302
})
@@ -1956,7 +1956,7 @@ var _ = Describe("Commands", func() {
1956
1956
hSet = client .HSet (ctx , "hash" , & set {
1957
1957
Set1 : "val1" ,
1958
1958
Set2 : 1024 ,
1959
- Set3 : 2 * time .Minute ,
1959
+ Set3 : 2 * time .Millisecond ,
1960
1960
Set4 : nil ,
1961
1961
Set5 : map [string ]interface {}{"k1" : 1 },
1962
1962
})
@@ -1968,7 +1968,7 @@ var _ = Describe("Commands", func() {
1968
1968
Expect (hMGet .Val ()).To (Equal ([]interface {}{
1969
1969
"val1" ,
1970
1970
"1024" ,
1971
- strconv .Itoa (int (2 * time .Minute .Nanoseconds ())),
1971
+ strconv .Itoa (int (2 * time .Millisecond .Nanoseconds ())),
1972
1972
"" ,
1973
1973
}))
1974
1974
})
0 commit comments