Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for datastore lock changes #2884

Closed
janette opened this issue May 22, 2019 · 1 comment
Closed

Add test for datastore lock changes #2884

janette opened this issue May 22, 2019 · 1 comment
Assignees

Comments

@janette
Copy link
Member

janette commented May 22, 2019

see #2876

lock is stored in a global lock variable, requesting a new lock will extend the expiration of the lock and return true. So to test a failed lock we need it to be called from a separate process.

to test we need a server to request a url
https://api.drupal.org/api/drupal/modules%21simpletest%21tests%21lock.test/function/LockFunctionalTest%3A%3AtestLockAcquire/7.x

hypothesis: use a drush command to acquire a lock, run a second drush command to also acquire the lock

@erogray
Copy link

erogray commented May 28, 2019

@janette and @fmizzell to cowork

@janette janette removed their assignment May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants