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

Allow OKTA_CLIENT_CONNECTIONTIMEOUT to be set #396

Merged
merged 3 commits into from
Jun 5, 2020

Conversation

arvindkrishnakumar-okta
Copy link
Contributor

@arvindkrishnakumar-okta arvindkrishnakumar-okta commented Jun 4, 2020

Background:

Since we have lot of flaky ITs that break due to high back end Okta core API latency, we should increase the client connection timeout to prevent IT failures in Oktapreview test org. This timeout value could be reduced if we migrate to prod org (which is planned).

This should be effected in PDVs also to prevent the frequent IT failures.

What is done:

  1. Updated the timeout setting in Travis config already (env variable OKTA_CLIENT_CONNECTIONTIMEOUT is set to 100).

image

  1. Due to the above setting, there is this test (in PR) that fails. We need to reset this environment variable before running this unit test and restore it later.

Since we have lot of flaky ITs that break due to a laggy backend, we should increase the client connection timeout to prevent IT failures in Oktapreview test org. This timeout value could be reduced if we migrate to prod org (which is planned).
@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title Increase base client connection timeout Increase Client Connection Timeout Jun 4, 2020
@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2020

Codecov Report

Merging #396 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #396   +/-   ##
=========================================
  Coverage     70.91%   70.91%           
  Complexity     1127     1127           
=========================================
  Files           120      120           
  Lines          3624     3624           
  Branches        566      566           
=========================================
  Hits           2570     2570           
  Misses          868      868           
  Partials        186      186           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2982703...18d15da. Read the comment docs.

@arvindkrishnakumar-okta arvindkrishnakumar-okta changed the title Increase Client Connection Timeout Allow OKTA_CLIENT_CONNECTIONTIMEOUT to be set Jun 5, 2020
@arvindkrishnakumar-okta arvindkrishnakumar-okta merged commit 471f676 into master Jun 5, 2020
@arvindkrishnakumar-okta arvindkrishnakumar-okta deleted the increase_client_connection_timeout branch June 5, 2020 16:14
arvindkrishnakumar-okta added a commit that referenced this pull request Jun 5, 2020
arvindkrishnakumar-okta added a commit that referenced this pull request Jul 7, 2020
* upgrade to openapi v2.0.0 (#380)

* openapi spec update - remove 200 response from generateCsrForApplication

* Update OktaOrgCleaner.groovy

* Fix flaky GroupsIT#groupUserOperationsTest test

* Update GroupsIT.groovy

* OKTA-279039: Fix flaky ApplicationsIT associateUserWithApplication test

* Update GroupsIT.groovy

* Addressed review comment

* OKTA-289656: Add Applications API Integration Tests

* OKTA-289655: Add Admin role API Integration Tests

* Open API Csr rename update (#394)

* openapi csr rename update

* Merge pull request #396

* revert csr model rename (#398)

* revert csr model rename

* open api spec update (#401)

* open api spec update

* Open API spec - fix binding enum value for ProtocolEndpoint model (#406)

* OKTA-289662: Add SMS Templates API Integration Tests (#395)

* OKTA-289665: Add Linked Objects Integration Tests (#404)

* Updated Licence Header in LinkedObjectsIT (#410)

* OKTA-289668: Add User Type Integration Tests (#405)

* Open API Update - Sync with #238 #239  (#411)

* sync with open api pr #240 (#413)

* Open API Update - Sync with #241 (#412)

* Open API Update - Sync with #242 (#414)

* Open API Update - Sync with Open API PR 243 (#416)

* OKTA-289657: Add Factors API Integration Tests (#391)

* OKTA-289659: Add Event Hooks Integration Tests (#399)

* OKTA-289659: Add Authorization Server Integration Tests (#402)

* OKTA-289660: Add Inline Hooks Integration Tests (#400)

* Open API Update - Sync with Open API PR 244 (#418)

* fixed copy paste error

* OKTA-289661: Add Feature API Integration Tests (#397)

* Open API Update - Sync with Open API PR 249 (#420)

* OKTA-289663: Add IdP Integration Tests (#409)

* resolved merge conflicts with master changes

* removed Default prefix from few Idp builders

* added swagger code gen check for backward compatibility requirements per review comments

* fixed findbugs error

* updates per swagger regen code and one other update to Idp builder

* fixed expiresAt param type in spec

* deprecated old classes

* refactored InlineHooksIT - deactivate created hooks so it can be cleaned up after test

* Remove deprecated code (#426)

* Remove deprecated code

* fix typo

* fixed PMD violation - unused inports

* Update integration-tests/src/test/groovy/com/okta/sdk/tests/it/CrudTestSupport.groovy

Co-authored-by: Brian Demers <bdemers@apache.org>

* Update integration-tests/src/test/groovy/com/okta/sdk/tests/it/FactorsIT.groovy

Co-authored-by: Brian Demers <bdemers@apache.org>

* Update integration-tests/src/test/groovy/com/okta/sdk/tests/it/UsersIT.groovy

Co-authored-by: Brian Demers <bdemers@apache.org>

* Update integration-tests/src/test/groovy/com/okta/sdk/tests/it/GroupsIT.groovy

Co-authored-by: Brian Demers <bdemers@apache.org>

* minor improvements (#427)

* OKTA-308935: Create Migration Guide for Java Mgmt SDK v2.0.0 (#423)

Co-authored-by: Ivan Ezeigbo <56391095+ivanezeigbo-okta@users.noreply.github.com>
Co-authored-by: Brian Demers <bdemers@apache.org>
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

Successfully merging this pull request may close these issues.

3 participants