File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 37
37
runs-on : ubuntu-latest
38
38
env :
39
39
VERBOSE : " true"
40
- TIMEOUT : " 30"
41
40
LOW_TIMEOUT : " 0.01"
42
41
DRIVER : ruby
43
42
REDIS_BRANCH : " 7.0"
78
77
runs-on : ubuntu-latest
79
78
env :
80
79
VERBOSE : " true"
81
- TIMEOUT : " 30"
82
80
LOW_TIMEOUT : " 0.01"
83
81
DRIVER : ${{ matrix.driver }}
84
82
REDIS_BRANCH : " 7.0"
@@ -118,7 +116,6 @@ jobs:
118
116
runs-on : ubuntu-latest
119
117
env :
120
118
VERBOSE : " true"
121
- TIMEOUT : " 30"
122
119
LOW_TIMEOUT : " 0.14"
123
120
DRIVER : ruby
124
121
REDIS_BRANCH : ${{ matrix.redis }}
@@ -156,7 +153,6 @@ jobs:
156
153
runs-on : ubuntu-latest
157
154
env :
158
155
VERBOSE : " true"
159
- TIMEOUT : " 30"
160
156
LOW_TIMEOUT : " 0.14"
161
157
DRIVER : ruby
162
158
REDIS_BRANCH : " 7.0"
@@ -194,7 +190,7 @@ jobs:
194
190
runs-on : ubuntu-latest
195
191
env :
196
192
VERBOSE : " true"
197
- TIMEOUT : " 30 "
193
+ TIMEOUT : " 15 "
198
194
LOW_TIMEOUT : " 0.14"
199
195
DRIVER : ruby
200
196
REDIS_BRANCH : " 7.0"
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ def test_large_payload
9
9
# see: https://github.com/redis/redis-rb/issues/962
10
10
# large payloads will trigger write_nonblock to write a portion
11
11
# of the payload in connection/ruby.rb _write_to_socket
12
+
13
+ # We use a larger timeout for TruffleRuby
14
+ # https://github.com/redis/redis-rb/pull/1128#issuecomment-1218490684
15
+ r = init ( _new_client ( timeout : TIMEOUT * 5 ) )
12
16
large = "\u3042 " * 4_000_000
13
17
r . setex ( "foo" , 10 , large )
14
18
result = r . get ( "foo" )
You can’t perform that action at this time.
0 commit comments