9e5dfc588e
manage dependency
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-18 12:55:21 +03:00
a9de9b319a
throw error if writers < 1
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-18 12:53:29 +03:00
57f4a0010f
throw error if writers < 1
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-18 12:32:57 +03:00
9251007cae
throw error if writers < 1
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-18 12:28:42 +03:00
edc6e31223
fail if concurrencty < 1
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-18 12:21:41 +03:00
fb7bc09e79
fail test if concurrency = 0
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-18 12:03:22 +03:00
ad5698c255
format code
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 18:32:18 +03:00
a4c2d29eff
add multipart description to scenarios.md
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 17:59:21 +03:00
358f613eed
add multipart description to scenarios.md
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 17:37:20 +03:00
6b7a27df4f
Fix
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 16:33:51 +03:00
88ae8f47a3
Fix body value
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 16:28:46 +03:00
00df55340a
Fix
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 16:26:59 +03:00
6f01a038e5
Fix setting options
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 16:25:14 +03:00
4af4498e32
Fix missing import
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 16:19:52 +03:00
c17ff97439
Fix missing return
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 16:17:32 +03:00
1443da627c
Fix spelling mistake
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 16:16:26 +03:00
46d5c647c0
Fix spelling mistake
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 16:13:34 +03:00
d1c6425c92
Support parallel multipart upload
...
Signed-off-by: Мария Малыгина <m.malygina@yadro.com>
2023-07-17 15:46:53 +03:00
6182d47b43
[ #81 ] remove schema from preset_s3 and k6 load s3 scenarios
2023-07-14 11:36:10 +00:00
ff6814e15d
[ #72 ] Add option --prepare-locally
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-07-07 13:16:54 +03:00
56235f5e90
[ #72 ] Update dependencies
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-07-06 12:14:52 +03:00
f633f9a64a
[ #79 ] client: Remove bufSize field
...
Use constant value instead.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-06 11:27:33 +03:00
42f1881580
[ #79 ] object put: Add chunk size parameter
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-06 11:27:33 +03:00
4972bb928e
[ #79 ] xk6: Update node and SDK-Go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-05 15:37:06 +03:00
a1f5738d2f
[ #77 ] Use writecache in local scenarios
...
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
2023-06-30 12:50:42 +00:00
8e99d08aa4
[ #12 ] Allow using multiple endpoints for presets
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-06-28 20:21:43 +03:00
ba04c682cb
[ #13 ] Allow to use english text in the payload
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-06-27 11:14:05 +00:00
3525d5b4e3
[ #15 ] go.mod: Tidy
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-06-27 11:14:05 +00:00
62d7b78131
[ #73 ] preset: Allow to sleep before putting objects
...
For large networks block propagation may take some time.
If we do not wait enough, putting objects can fail for some containers.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-06-25 13:14:15 +03:00
153390cedb
[ #65 ] go.mod: Move to go1.19
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-24 11:41:02 +03:00
1025e80f11
[ #65 ] go.mod: Update dependencies
...
See https://github.com/grafana/k6/pull/3075/ , it is not yet in any
release.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-24 11:41:02 +03:00
6151005b4d
[ #67 ] Fail k6 if preset fails
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-24 08:39:37 +00:00
925fe3ec83
[ #66 ] scenarios: Exit if there is nothing to verify
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-23 16:02:12 +03:00
4aa9a359b5
[ #64 ] registry: Delete object from the old bucket
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-23 16:02:03 +03:00
52ed0d6d88
[ #63 ] scenarios: Unify logs in verify script
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-23 16:02:03 +03:00
4c2678077b
[ #57 ] preset: Use temporary file for payload
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-22 09:06:10 +00:00
5a1191a1ab
[ #20 ] Add pprof extension with support for cpu and mem
...
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
2023-05-18 15:08:33 +00:00
5c26b4bad4
[ #61 ] scenarios: Fix setObjectStatus
parameters
...
We were providing new status instead of old and expected it to exist in
DB.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-18 09:43:41 +03:00
e71ac35c36
[ #42 ] registry: Do not create selectors without status filters
...
Should allow to catch bugs in scenarios earlier.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-15 16:08:26 +03:00
b66b5a2f37
[ #42 ] registry: Optimize Count() for ObjSelector
...
It is the heaviest function executing on setup stage.
The culprit is the linear dependency between its execution
time and the amount of objects in registry. The solution is to store
object by status. While the optimization doesn't work for objects with
no status, it is currently provided by all scenarios.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-15 16:08:26 +03:00
22d7996f79
[ #42 ] registry: Optimize ObjectInfo
marshaling
...
1. Get rid of JSON in the database.
2. Store `CreatedAt` as int64. It decreases JSON marshaling time by
about ~25% with no changes for native scheme.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-15 16:08:26 +03:00
da01f4bc2a
[ #59 ] Revert scheme to http for s3 cli script
...
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
2023-05-11 15:09:56 +03:00
81b7d3f536
Check NOFILE limit before creating local storage engine
...
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
2023-04-21 14:01:30 +03:00
5ab7cfed7c
[ #52 ] Add debug_logger flag to local scenarios
...
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
2023-04-19 10:44:45 +03:00
8109df7de7
[ #51 ] Add constant arrival rate (car) scenarios for grpc and s3
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-04-14 11:05:20 +03:00
7bb16cdd94
[ #49 ] Import and use k6-utils library for uuidv4
...
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
2023-04-13 16:31:54 +03:00
de6747fc0f
[ #14 ] Add s3 local loader
...
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
2023-04-13 13:00:38 +00:00
6832771973
[ #47 ] Raise default STREAM_TIMEOUT to 60s
...
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-04-07 12:01:50 +03:00
ef6f5bdf48
[ #45 ] scenarios: Support ENV file in local.js
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-03-24 09:08:42 +00:00
cea265a3f8
[ #43 ] generator: Fix initial payload generation
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-03-24 07:29:32 +00:00