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 offline Mode #234

Open
leonard84 opened this issue Feb 3, 2017 · 1 comment
Open

Add offline Mode #234

leonard84 opened this issue Feb 3, 2017 · 1 comment

Comments

@leonard84
Copy link

If a request comes in which does not have a matching record in the current tape Betamax will talk to the real server, and subsequently fail (if the tape mode does not permit writing, e.g. READ_ONLY, READ_SEQUENTIAL).

IMHO it would be good to have an offline mode where Betamax is guaranteed not to talk to the real server but to fail immediately. The question is if this should be via a TapeMode or via a separate switch.

This would also help to prevent unintended potentially dangerous request to the real server, while refactoring.

@theerasakp
Copy link

Totally agree with offline mode, I want to test using tape in the machine that dont have connection to webservice. Is that possible???

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

2 participants