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

run step seems to be running asynchronously instead of synchronously #121

Closed
kensoh opened this issue Apr 7, 2018 · 2 comments
Closed
Labels

Comments

@kensoh
Copy link
Member

kensoh commented Apr 7, 2018

The following script, when run on macOS, completes in 8 seconds instead of 1 + 4 + 8 = 13 seconds. It appears that run step execute asynchronously. An issue raised to CasperJS repo for review and discussion, but going to implement an interim solution into TagUI in the meantime.

run sleep 1
echo '1'

run sleep 4
echo '2'

run sleep 8
echo '3'
kensoh added a commit that referenced this issue Apr 7, 2018
more details in issue #121
@kensoh
Copy link
Member Author

kensoh commented Apr 7, 2018

With above commit, the cutting edge version will run the example above finishing in 13 seconds.

@kensoh kensoh closed this as completed Apr 7, 2018
@kensoh kensoh added bug query and removed bug labels Apr 7, 2018
@kensoh
Copy link
Member Author

kensoh commented Apr 7, 2018

(changing to query as it is an upstream query to CasperJS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant