-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fixes #1774 Functional tests for OIDC authentication #541
Conversation
This includes fix for #1774 Jenkins functional test in progress: http://uberjenkins.sc.couchbase.com:8080/view/QE%20Dev/job/syncgateway-functional-tests-dev/124/ |
@ajres included you as part of the PR review, we should plan to do a screenshare session with the three of us. |
de8f59a
to
da0ed0e
Compare
da0ed0e
to
396ef83
Compare
@seth I pushed up the changes we discussed and rebased off current master. Functional test re-run in progress: |
Reviewed 4 of 7 files at r1, 1 of 1 files at r2, 2 of 2 files at r3. testsuites/syncgateway/functional/test_openid_connect.py, line 88 [r3] (raw file):
This comment is confusing testsuites/syncgateway/functional/test_openid_connect.py, line 147 [r3] (raw file):
Can we assume that if we have authorization to the db endpoint, that all other endpoints will function as expected? testsuites/syncgateway/functional/test_openid_connect.py, line 177 [r3] (raw file):
Would it be a good assertion to test that the new id tokens can also communicate with the live sync gateway (i.e. GET /db)? testsuites/syncgateway/functional/test_openid_connect.py, line 262 [r3] (raw file):
Why * 2, should a delta of + 1 be sufficient? testsuites/syncgateway/functional/test_openid_connect.py, line 319 [r3] (raw file):
Should this be more realistic the last piece of the token, (i.e. expected length) or do you think this is fine? testsuites/syncgateway/functional/test_openid_connect.py, line 408 [r3] (raw file):
Is more than "nickname" expected in a large scope or should we assert others as well? testsuites/syncgateway/functional/1sg_1cbs/1sg_1cbs-openid-connect.robot, line 57 [r3] (raw file):
What is the behavior for a ttl on the token for the past? Comments from Reviewable |
Review status: 4 of 7 files reviewed at latest revision, 7 unresolved discussions. testsuites/syncgateway/functional/test_openid_connect.py, line 88 [r3] (raw file):
|
Reviewed 3 of 3 files at r4. testsuites/syncgateway/functional/test_openid_connect.py, line 147 [r3] (raw file):
|
This change is