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

[WiP] - Add a multi-realms test in the load test suite #901

Closed
wants to merge 2 commits into from

Conversation

mohierf
Copy link
Contributor

@mohierf mohierf commented Aug 12, 2017

No description provided.

@mohierf mohierf requested a review from ddurieux August 12, 2017 06:27
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 84.776% when pulling 281514f on test-load-multi-realms into 66f4217 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 84.734% when pulling 1eb79fe on test-load-multi-realms into 66f4217 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 84.855% when pulling a3c94da on test-load-multi-realms into 66f4217 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 84.902% when pulling c3166c4 on test-load-multi-realms into 66f4217 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 84.855% when pulling ae0c8d9 on test-load-multi-realms into 66f4217 on develop.

result = False
else:
logger.info("%s running (pid=%d)",
daemon_name, self.my_satellites[daemon_name].pid)
return result

def stop_missing_daemons(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

This function has many problems:

  • in comment, it's written stop the daemon but in code it just look if stopped, not try stop it
  • in comment we have True if all daemons are stopped, else False, but in code it return True only in case all daemons are running

@@ -784,6 +816,9 @@ def do_loop_turn(self):
# Main loop
self.run()

if self.interrupted:
self.stop_missing_daemons()
Copy link
Contributor

Choose a reason for hiding this comment

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

after my previous comment, we not use the return status, perhaps manage it

@mohierf mohierf changed the title Add a multi-realms test in the load test suite [WiP] - Add a multi-realms test in the load test suite Sep 1, 2017
@mohierf
Copy link
Contributor Author

mohierf commented Oct 2, 2017

@ddurieux, please merge this ...

@ddurieux
Copy link
Contributor

ddurieux commented Oct 2, 2017

But you not see my comments... :p

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 84.44% when pulling bd6864e on test-load-multi-realms into 66f4217 on develop.

Add a multi-realms test with undefined daemons
Clean daemons launch and stop
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 84.474% when pulling 066c83f on test-load-multi-realms into 862c745 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 84.354% when pulling ad25beb on test-load-multi-realms into 862c745 on develop.

@mohierf
Copy link
Contributor Author

mohierf commented Mar 14, 2018

I deprecate this in favor of #990

@mohierf mohierf closed this Mar 14, 2018
@mohierf mohierf deleted the test-load-multi-realms branch June 4, 2018 16:08
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.

None yet

3 participants