-
Notifications
You must be signed in to change notification settings - Fork 5
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
Upgrade the version of aglais benchmarker #752
Conversation
The PR comment says this fixes three issues.
The notes have show a test run with a 10 second delay at the start for each notebook. The notes contain a dump of the test output, but it isn't easy to check if the delay is working as expected. If you apply a JSON filter to the results it makes it much easier to see that the start time of GaiaDMPSetup notebooks are delayed by 10 seconds between each run.
Running a few more tests with a range of delays, e.g. 20, 30 and 60 seconds, would demonstrate that it is working as expected.
The corresponding PR wfau/aglais-testing#34 doesn't include any tests that demonstrate the fixes do what they are intended to do. So at the moment this PR contains untested code. |
I've added some notes based on the Review here that include some additional tests: https://github.com/wfau/aglais/blob/76ddf26d59c556d50857b7bec298c0b302d5b97b/notes/stv/20220616-benchmark-tests-01.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Couple of things still needed.
To test the delay between notebooks, you can set a huge delay, 5min, and then compare the finish of one notebook with the start of the next. With no delay they should be close, with a 5min delay it should be obvious.
Catching the connection exceptions is good, but the Python stack trace needs to be part of the JSON output. That enables us to do a long test run for several hours that fails in unexpected ways and still be able to use jq
to filter the output.
|
||
Skip to content | ||
Pull requests | ||
Issues | ||
Marketplace | ||
Explore | ||
@stvoutsin | ||
stvoutsin / | ||
aglais | ||
Public | ||
forked from wfau/aglais | ||
|
||
Code | ||
Pull requests | ||
Actions | ||
Projects | ||
Wiki | ||
Security | ||
Insights | ||
|
||
Settings | ||
|
||
aglais/notes/stv/20220608-test-authc-01.txt | ||
@stvoutsin | ||
stvoutsin Added test notes | ||
Latest commit dc39b30 yesterday | ||
History | ||
1 contributor | ||
279 lines (220 sloc) 6.31 KB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a copy/paste typo ?
Newer test commited which runs some additional tests on the newest changes:
Note: I've made some changes to the benchmarker based on suggestions to:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
Contains fixes to the following issues:
Adds optional delays to user and/or notebook run (0 by default), notebook deletion after run (enabled by default)