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

vary error for callback vs promise #1028

Merged
merged 2 commits into from
Mar 19, 2018

Conversation

bruce-lindsay
Copy link
Contributor

Copy link
Member

@charlierudolph charlierudolph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@@ -81,7 +81,7 @@ Feature: Step definition timeouts
Then it fails
And the output contains the text:
"""
function timed out after 500 milliseconds
function timed out
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do what was done earlier in this file?

@@ -29,7 +29,8 @@ Feature: before / after all hook timeouts
Then it fails
And the error output contains the text snippets:
| a handler errored, process exiting |
| function timed out after 500 milliseconds |
| function timed out |
| 500 milliseconds |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we update this to: function timed out, ensure the callback is executed within 500 milliseconds?

@bruce-lindsay
Copy link
Contributor Author

@charlierudolph sure thing. Glad to be able to help. I addressed your feedback in the latest commit. I thought I was being smart by reducing some of the repetitiveness but this is more consistent. Let me know if I missed anything else.

@charlierudolph charlierudolph merged commit e901991 into cucumber:master Mar 19, 2018
@aslakhellesoy
Copy link
Contributor

Hi @bruce-lindsay,

Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾

In return for this generous offer we hope you will:

  • ✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
  • 💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
  • 💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
  • ℹ️ Don't feel obliged to help, just do what you can if you have the time and the energy.
  • 🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

@lock
Copy link

lock bot commented Mar 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants