Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? 3.1
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Skip tests that require real calls to sleep(): they slow down the test suite too much and don't test much.
@group time-sensitive tests will run these test cases just fine, but they can't be used on tests that use an external source for time, i.e. for redis or apcu.

@nicolas-grekas nicolas-grekas merged commit d476725 into symfony:3.1 Aug 5, 2016
nicolas-grekas added a commit that referenced this pull request Aug 5, 2016
…d (nicolas-grekas)

This PR was merged into the 3.1 branch.

Discussion
----------

[Cache] Skip tests that sleep() but can't be clock-mocked

| Q             | A
| ------------- | ---
| Branch?       | 3.1
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Skip tests that require real calls to `sleep()`: they slow down the test suite too much and don't test much.
`@group time-sensitive` tests will run these test cases just fine, but they can't be used on tests that use an external source for time, i.e. for redis or apcu.

Commits
-------

d476725 [Cache] Skip tests that sleep() but can't be clock-mocked
@nicolas-grekas nicolas-grekas deleted the cache-skip branch August 5, 2016 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants