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

Added cannon operation counter #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZuluPro
Copy link
Contributor

@ZuluPro ZuluPro commented Jan 9, 2017

What do you think about this piece of code ?

I would like to get a summary of operations' status:

  • Total count
  • Success count
  • Failed count

This code helps to produce a result by cannon and may help to have one by turret.

@karec
Copy link
Collaborator

karec commented Jan 9, 2017

Hello and thanks for this PR !

Nice piece to code, this could be really helpful to have per turret information in addition of global summary at the end of tests. Plus, I see that you've added logic to stop cannons after N operations, which could be a very useful feature in some cases

@ZuluPro
Copy link
Contributor Author

ZuluPro commented Jan 9, 2017

And how do you think I should get up the count data ?

@karec
Copy link
Collaborator

karec commented Jan 10, 2017

This could be tricky with this turret because of threads. I think the easy way is to use a Queue and merge results after cannons join

@ZuluPro ZuluPro changed the title [WIP] Added cannon operation counter Added cannon operation counter Jan 11, 2017
@ZuluPro
Copy link
Contributor Author

ZuluPro commented Jan 11, 2017

Updated !
For now, I will make without up counters.

@ZuluPro
Copy link
Contributor Author

ZuluPro commented Jan 21, 2017

@karec Do yo think e can merge this PR ?

@ZuluPro ZuluPro mentioned this pull request Jan 28, 2017
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