-
Notifications
You must be signed in to change notification settings - Fork 59
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
Predis transactions not supported? #74
Comments
Hey @tarjei , indeed, transaction aren't supported in RedisMock. Feel free to propose something if you want to improve. |
OK, I thought this sentence in the readme would let me test the transaction
code:
'It mocks *MULTI*, *DISCARD* and *EXEC* commands but without any
transaction behaviors, they just make the interface fluent and return each
command results. *PIPELINE* and *EXECUTE* pseudo commands (client
pipelining) are also mocked.'
T
Den tir. 30. okt. 2018 kl. 15:15 skrev Olivier Mansour <
[email protected]>:
… Hey @tarjei <https://github.com/tarjei> , indeed, transaction aren't
supported.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#74 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAM5P897fn2da7_E_Nn2swc9Yq4KGtd3ks5uqF8TgaJpZM4YBbX6>
.
--
__________________
Tarjei Huse
Mobil: 920 63 413
|
I didn't expect a transaction, just that the commands happened.
Den tir. 30. okt. 2018 kl. 15:17 skrev Tarjei Huse <[email protected]>:
… OK, I thought this sentence in the readme would let me test the
transaction code:
'It mocks *MULTI*, *DISCARD* and *EXEC* commands but without any
transaction behaviors, they just make the interface fluent and return each
command results. *PIPELINE* and *EXECUTE* pseudo commands (client
pipelining) are also mocked.'
T
Den tir. 30. okt. 2018 kl. 15:15 skrev Olivier Mansour <
***@***.***>:
> Hey @tarjei <https://github.com/tarjei> , indeed, transaction aren't
> supported.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#74 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAM5P897fn2da7_E_Nn2swc9Yq4KGtd3ks5uqF8TgaJpZM4YBbX6>
> .
>
--
__________________
Tarjei Huse
Mobil: 920 63 413
--
__________________
Tarjei Huse
Mobil: 920 63 413
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I thought Predis transactions were supported - is that not correct?
Here's the code I was trying to test:
And the test:
I have isolated the problem to the code within the transaction call. If I run it outside the transaction then the test works. Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: