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

Molotov script #2

Merged
merged 6 commits into from May 30, 2017
Merged

Molotov script #2

merged 6 commits into from May 30, 2017

Conversation

peterbe
Copy link
Contributor

@peterbe peterbe commented May 24, 2017

No description provided.

@peterbe
Copy link
Contributor Author

peterbe commented May 24, 2017

NOTE! This doesn't work.

▶ molotov -d 3 -cx loadtest.py
**** Molotov v1.0. Happy breaking! ****
[46925] Preparing 1 workers...OK
SUCCESSES: 0 | FAILURES: 1
*** Bye ***

No traceback or log files anywhere saying what the failures are :(

@peterbe
Copy link
Contributor Author

peterbe commented May 24, 2017

I debugged the code with q (pip install q and then tail -f /where/your/tmp/dir/is/q).

It seems that creating those STACKS and SYMBOLS global lists aren't accessible in the scenarii. They exist but they're always empty.
The test_starts function is certainly working and filling up those global lists.

@peterbe
Copy link
Contributor Author

peterbe commented May 24, 2017

I suspect there's something buggy with @global_setup or that I don't understand these coroutines.
If I replace:

@global_setup()
def test_starts(args):

with

if 1:

then the tests start.

I get other errors now. But I still have to use q to figure out what the errors are :(

@peterbe peterbe merged commit 288fac5 into mozilla-services:master May 30, 2017
@peterbe peterbe deleted the molotov-script branch May 30, 2017 16:13
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

1 participant