Skip to content

Commit d6cbb75

Browse files
authored
ci: fix flaky test cases since minitest 6 (#456)
1 parent ec3eed6 commit d6cbb75

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545
- {ruby: 'truffleruby'}
4646
- {task: test_cluster_down}
4747
- {task: test_cluster_broken, restart: 'no', startup: '6'}
48-
- {task: test_cluster_state, pattern: 'PrimaryOnly', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
49-
- {task: test_cluster_state, pattern: 'Pooled', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
50-
- {task: test_cluster_state, pattern: 'ScaleReadRandom', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
51-
- {task: test_cluster_state, pattern: 'ScaleReadRandomWithPrimary', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
52-
- {task: test_cluster_state, pattern: 'ScaleReadLatency', compose: compose.valkey.yaml, redis: '8', replica: '2', startup: '9'}
48+
- {task: test_cluster_state, pattern: 'PrimaryOnly', compose: compose.valkey.yaml, redis: '9', replica: '2', startup: '9'}
49+
- {task: test_cluster_state, pattern: 'Pooled', compose: compose.valkey.yaml, redis: '9', replica: '2', startup: '9'}
50+
- {task: test_cluster_state, pattern: 'ScaleReadRandom', compose: compose.valkey.yaml, redis: '9', replica: '2', startup: '9'}
51+
- {task: test_cluster_state, pattern: 'ScaleReadRandomWithPrimary', compose: compose.valkey.yaml, redis: '9', replica: '2', startup: '9'}
52+
- {task: test_cluster_state, pattern: 'ScaleReadLatency', compose: compose.valkey.yaml, redis: '9', replica: '2', startup: '9'}
5353
- {task: test_cluster_scale, pattern: 'Single', compose: compose.scale.yaml, startup: '8'}
5454
- {task: test_cluster_scale, pattern: 'Pipeline', compose: compose.scale.yaml, startup: '8'}
5555
- {task: test_cluster_scale, pattern: 'Transaction', compose: compose.scale.yaml, startup: '8'}

test/test_against_cluster_scale.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def retryable(attempts:)
127127
class Single < TestingWrapper
128128
include Mixin
129129

130-
def self.test_order
130+
def self.run_order
131131
:alpha
132132
end
133133

@@ -150,7 +150,7 @@ def do_test_after_scaled_in
150150
class Pipeline < TestingWrapper
151151
include Mixin
152152

153-
def self.test_order
153+
def self.run_order
154154
:alpha
155155
end
156156

@@ -182,7 +182,7 @@ def do_test_after_scaled_in
182182
class Transaction < TestingWrapper
183183
include Mixin
184184

185-
def self.test_order
185+
def self.run_order
186186
:alpha
187187
end
188188

@@ -218,7 +218,7 @@ def do_test_after_scaled_in
218218
class PubSub < TestingWrapper
219219
include Mixin
220220

221-
def self.test_order
221+
def self.run_order
222222
:alpha
223223
end
224224

0 commit comments

Comments
 (0)