-
-
Notifications
You must be signed in to change notification settings - Fork 197
chore: merge release in master #3792
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…simulators-windows chore: update common lib to get fix for detecting iOS devices on Win
…ortable chore: update ios-sim-portable version
fix: ios fast sync restarts app
Fixes non working ctrl + c when `tns run android` command is executed
Dispose android livesync sockets
docs: improve the platform add logging by listing the installed runtime version
Update to latest common lib
…nsecutive-syncs fix: socket not cleared on time for second sync
…dle-migration fix: plugin include.gradle not migrated
With the new LiveSync with sockets functionality, the `tns test android` command executes the tests twice and often exits with a non-zero exit code. The problem is that the command uses the LiveSync logic to upload the files first, restart the application after that and runs the tests. However, the new LiveSync requires the application to be running on device in order to have a socket for file transfer. When we start the application in order to execute the LiveSync, the tests are run. During the run the LiveSync may end and CLI will restart the app. If this happens during running the tests, Karma will mark them as failure and the next execution may not be triggered. Fix this by creating a temp file on device before starting the LiveSync operation. Runtime will check if the file exists and if it does, it will sleep the application for 30 seconds, i.e. it will not load the JS implementation of the app. During this time CLI will transfer all files, remove the temp file from device and restart the application. Runtime will not find the file and it will load the application.
When LiveSync operation is executed, CLI tries to connect to device socket for 30 seconds. In case it succeeds, the timer is not stopped and this keeps the process alive for 30 seconds.
fix: Test command runs tests twice and often fails on Android
Destroy properly net connection to android's emulator port
Rename `getAvailableEmulators` to `getEmulatorImages` as we return information for all emulator images - running and not. Rename the events `emulatorImagesFound` and `emulatorImagesLost` to `emulatorImageFound` and `emulatorImageLost` as emitted data contains a single emulator image. Add docs for deviceEmitter
chore: rename exposed methods and events for emulators
miroslavaivanova
approved these changes
Aug 3, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
chore: merge release in master