Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Init web socket clients lazily#912

Merged
mykola-mokhnach merged 1 commit intoappium:masterappium/java-client:masterfrom
mykola-mokhnach:websocket_lazymykola-mokhnach/java-client:websocket_lazyCopy head branch name to clipboard
May 25, 2018
Merged

Init web socket clients lazily#912
mykola-mokhnach merged 1 commit intoappium:masterappium/java-client:masterfrom
mykola-mokhnach:websocket_lazymykola-mokhnach/java-client:websocket_lazyCopy head branch name to clipboard

Conversation

@mykola-mokhnach
Copy link
Contributor

Change list

It looks like web socket lib throws an exception on init for some reason. So it would be safer to init the stuff lazily in order to avoid the java class loader from throwing this exception each time when the driver is instantiated.

See https://stackoverflow.com/questions/50293463/appium-test-case-throws-exception for the reference.

Types of changes

  • No changes in production code.
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@mykola-mokhnach mykola-mokhnach merged commit 95f0964 into appium:master May 25, 2018
@mykola-mokhnach mykola-mokhnach deleted the websocket_lazy branch May 31, 2018 14:20
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.