File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,10 @@ public function testMailShouldTriggerHelper()
222
222
*/
223
223
public function testCheckMaxRuntime ()
224
224
{
225
+ if ($ this ->helper ->getPlatform () !== Helper::UNIX ) {
226
+ $ this ->markTestSkipped ("'maxRuntime' is not supported on Windows " );
227
+ }
228
+
225
229
$ helper = $ this ->getMock ('Jobby\Helper ' , ['getLockLifetime ' ]);
226
230
$ helper ->expects ($ this ->once ())
227
231
->method ('getLockLifetime ' )
@@ -244,6 +248,10 @@ public function testCheckMaxRuntime()
244
248
*/
245
249
public function testCheckMaxRuntimeShouldFailIsExceeded ()
246
250
{
251
+ if ($ this ->helper ->getPlatform () !== Helper::UNIX ) {
252
+ $ this ->markTestSkipped ("'maxRuntime' is not supported on Windows " );
253
+ }
254
+
247
255
$ helper = $ this ->getMock ('Jobby\Helper ' , ['getLockLifetime ' ]);
248
256
$ helper ->expects ($ this ->once ())
249
257
->method ('getLockLifetime ' )
You can’t perform that action at this time.
0 commit comments