Skip to content

Commit 701b1d0

Browse files
committed
fix: 386 platform test
Signed-off-by: monkey92t <[email protected]>
1 parent 0064199 commit 701b1d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

commands_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ var _ = Describe("Commands", func() {
12331233
mSet = client.MSet(ctx, &set{
12341234
Set1: "val1",
12351235
Set2: 1024,
1236-
Set3: 2 * time.Minute,
1236+
Set3: 2 * time.Millisecond,
12371237
Set4: nil,
12381238
Set5: map[string]interface{}{"k1": 1},
12391239
})
@@ -1245,7 +1245,7 @@ var _ = Describe("Commands", func() {
12451245
Expect(mGet.Val()).To(Equal([]interface{}{
12461246
"val1",
12471247
"1024",
1248-
strconv.Itoa(int(2 * time.Minute.Nanoseconds())),
1248+
strconv.Itoa(int(2 * time.Millisecond.Nanoseconds())),
12491249
"",
12501250
}))
12511251
})
@@ -1296,7 +1296,7 @@ var _ = Describe("Commands", func() {
12961296
mSetNX = client.MSetNX(ctx, &set{
12971297
Set1: "val1",
12981298
Set2: 1024,
1299-
Set3: 2 * time.Minute,
1299+
Set3: 2 * time.Millisecond,
13001300
Set4: nil,
13011301
Set5: map[string]interface{}{"k1": 1},
13021302
})
@@ -1956,7 +1956,7 @@ var _ = Describe("Commands", func() {
19561956
hSet = client.HSet(ctx, "hash", &set{
19571957
Set1: "val1",
19581958
Set2: 1024,
1959-
Set3: 2 * time.Minute,
1959+
Set3: 2 * time.Millisecond,
19601960
Set4: nil,
19611961
Set5: map[string]interface{}{"k1": 1},
19621962
})
@@ -1968,7 +1968,7 @@ var _ = Describe("Commands", func() {
19681968
Expect(hMGet.Val()).To(Equal([]interface{}{
19691969
"val1",
19701970
"1024",
1971-
strconv.Itoa(int(2 * time.Minute.Nanoseconds())),
1971+
strconv.Itoa(int(2 * time.Millisecond.Nanoseconds())),
19721972
"",
19731973
}))
19741974
})

0 commit comments

Comments
 (0)