Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
0e3d48f2
Commit
0e3d48f2
authored
Oct 29, 2013
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip expiry test for memcache on travis
fixes #877
parent
155e9c6c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
MemCacheTest.php
tests/unit/framework/caching/MemCacheTest.php
+8
-0
MemCachedTest.php
tests/unit/framework/caching/MemCachedTest.php
+8
-0
No files found.
tests/unit/framework/caching/MemCacheTest.php
View file @
0e3d48f2
...
...
@@ -26,4 +26,12 @@ class MemCacheTest extends CacheTestCase
}
return
$this
->
_cacheInstance
;
}
public
function
testExpire
()
{
if
(
isset
(
$_ENV
[
'TRAVIS'
])
&&
$_ENV
[
'TRAVIS'
])
{
$this
->
markTestSkipped
(
'Can not reliably test memcache expiry on travis-ci.'
);
}
parent
::
testExpire
();
}
}
tests/unit/framework/caching/MemCachedTest.php
View file @
0e3d48f2
...
...
@@ -26,4 +26,12 @@ class MemCachedTest extends CacheTestCase
}
return
$this
->
_cacheInstance
;
}
public
function
testExpire
()
{
if
(
isset
(
$_ENV
[
'TRAVIS'
])
&&
$_ENV
[
'TRAVIS'
])
{
$this
->
markTestSkipped
(
'Can not reliably test memcached expiry on travis-ci.'
);
}
parent
::
testExpire
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment