-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
An failing test to demonstrate #732 #734
Conversation
My last commit should fix the problem. I do not really know what I am doing here (I am not really good with Guice), I just had a feeling that the I may be wrong, in which case I really do not know why the test case is working now :) |
In fac, the provider will not create an instance each time, it will I am pretty sure this is why it works now. The travis build is still failing though, I did not check why, but I guess I was wrong to assume you had a redis instance up during the test :) |
The build is failing because in 3 tests, I will fix the tests. |
Same here :) Thank you. |
You're welcome to join the team :) |
I am sorry, I do not know how to properly fix this test (without being an integration test). I just commented some lines so not actual connection will be made, but this will render the test useless. If you have some idea to properly fix this test, tel me and I will try to push again to this branch, otherwise, I will leave the code like this and it will be up to you to delete the class or make it work properly. The build is failing because to redis instance can be reached on localhost:6379:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What you did is OK and should work. I'm going to review and fix it.
I'm not going to merge this pull because it is a simply change but you made 5 commits ;). In general, like to keep git history clean and easy to follow, this is the reason of why I'm not going to merge your changes (but will copy and paste).
In general if you need to fix something in an opened pull request use: git commit --amend
Thanks.
What some project owners are doing, is leave PR commits as is, because it is easier to follow the thread when commits are in the right sequence relative to the comments. When the owner feels it is time to merge, they ask the contributor to rebase. This way: no copy/paste mess, clean history and the burden of the clean up is on the contributor not the project owner ;) |
can you rebase? let's do it (asked before for rebase but never got an answer) please rebase and will happily merge it! |
Haha, yeah, some people are afraid to rebase. Rebase is in progress. |
f48a2aa
to
46ea40e
Compare
Here you go, rebased (amend and squash) into two commits. The test is still commented though, as I do not know how to test this without any actual redis connection. |
We don't have integration tests for jedis, so don't worry. I will merge, test and if everything is good, the unit test is enough. Thank you. |
No description provided.