-
Notifications
You must be signed in to change notification settings - Fork 115
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
Add txsource #2478
Add txsource #2478
Conversation
4956f16
to
5c1ef37
Compare
Codecov Report
@@ Coverage Diff @@
## master #2478 +/- ##
==========================================
- Coverage 66.92% 66.81% -0.11%
==========================================
Files 325 328 +3
Lines 29937 30077 +140
==========================================
+ Hits 20034 20096 +62
- Misses 7396 7500 +104
+ Partials 2507 2481 -26
Continue to review full report at Codecov.
|
58c2f86
to
48ec72e
Compare
ok there's a new daily pipeline https://buildkite.com/oasislabs/oasis-core-long-term-runs/builds/4#_ for this, but it's very boring because the client logs go to a file current issues: builds would always show up as timed out. probably ought to have a graceful run-for-how-long setting |
https://buildkite.com/oasislabs/oasis-core-long-term-runs/builds/4#_ hm the test run died after an hour with "agent lost." even though it was on a stable agent |
48ec72e
to
26b3fc3
Compare
22ed5d0
to
95dcdc1
Compare
added time limit for finite-duration runs on CI |: |
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.
Few nits otherwise this is good to merge. Don't forget to squash commits.
433676a
to
c75d178
Compare
alright gonna squash some and merge |
Squashed from tests: add explanation to txsource fixture data go txsource: log workload name in a few more places go txsource: add some doc blocks to exported things
Co-Authored-By: Jernej Kos <[email protected]>
Squashed from go txsource: switch to HeightLatest go txsource: add doc to Workload go txsource: only one thing in junk.go anyway go txsource: separate workloads' log tags
c75d178
to
bc02252
Compare
The so-called "txsource" utility introduced in this PR is a starting point for something like a client that sends transactions for a long period of time, for the purpose of creating long-running tests.
With this change is a preliminary sample "workload"--a DRBG-backed schedule of transactions--which transfers staking tokens around among a set of test accounts.
cc #2277