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

Getting TCR::DirectionMismatchError after a successful run #55

Open
agustin opened this issue Jun 4, 2024 · 0 comments
Open

Getting TCR::DirectionMismatchError after a successful run #55

agustin opened this issue Jun 4, 2024 · 0 comments

Comments

@agustin
Copy link

agustin commented Jun 4, 2024

Hi here! thanks for the work you put into this gem! I'm having a weird issue when replaying a cassette.

I'm using json format and hooking into these ports [25, 143, 465, 587, 993].

On the first run (when the cassette is generated) everything works perfectly, and when a re-run the test and in this case will load the cassette, I'm getting the error:

TCR::DirectionMismatchError: Expected to 'write' but next in recording was 'read'

On some simple cases I was able to edit the .json and the it works, but it defeat the purpose of the cassette, so I was wondering if at some point did you experience something similar, and in that case if you have any pointer in where to look for the issue or config.

Thanks a lot!

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

1 participant