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

Test server side session caching #4072

Closed

Conversation

mattcaswell
Copy link
Member

We already had tests for session caching but they only covered the client side (!!) not server side. This adds some server side caching tests. In particular it tests the scenario mentioned in #4014.

As part of this work I needed to duplicate a session object. We don't have a public API for that (although we have an internal one). This missing API was mentioned somewhere else recently (by @kroeckx I think), so I've added it as part of this PR.

I also fixed some bugs in sslapitest introduced recently by commit 7e885b7.

Note this should not be merged until #4014 is. The tests will fail (including CI) until then. Hence marked as WIP. For master only. The issue described in #4014 is present in 1.1.0 too, but it's non-trivial to backport this.

Checklist
  • documentation is added or updated
  • [ x tests are added or updated

Copy link
Contributor

@paulidale paulidale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing my earlier misconversions of some of the if statements.

@paulidale paulidale added the approval: done This pull request has the required number of approvals label Aug 2, 2017
@mattcaswell mattcaswell changed the title WIP: Test server side session caching Test server side session caching Aug 3, 2017
@mattcaswell
Copy link
Member Author

I've rebased and push -fd this PR now that #4014 is in. The rebase was clean so as long as the CI results are good I will take your approval @paulidale.

@paulidale
Copy link
Contributor

The code looks good too. Not sure about the Travis failure though.

levitte pushed a commit that referenced this pull request Aug 9, 2017
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from #4072)
levitte pushed a commit that referenced this pull request Aug 9, 2017
In particular this covers the scenario mentioned in #4014

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from #4072)
@paulidale
Copy link
Contributor

Merged

@paulidale paulidale closed this Aug 9, 2017
@paulidale paulidale removed the approval: done This pull request has the required number of approvals label Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch: master Merge to master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants