Commit graph

267 commits

Author SHA1 Message Date
Aleksei Chetaev
13bc98eecc Fixing imports after move utils ti frostfs-testlib
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-27 11:44:19 +01:00
Aleksei Chetaev
7a742d57fc Move errors templates to testlib
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-27 11:44:19 +01:00
19809c5641 Rename to frostfs
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2023-02-17 16:31:07 +03:00
Aleskei Chetaev
c7a69b89e3 Aplly isort to commit
Signed-off-by: Aleskei Chetaev <alex.chetaev@gmail.com>
2023-02-14 10:29:29 +01:00
Aleskei Chetaev
d76951ed4f Change mamba version, fix imports and support python 3.10
Signed-off-by: Aleskei Chetaev <alex.chetaev@gmail.com>
2023-02-14 10:29:29 +01:00
baf0b4dd0f Add waiting for epoch align for storage group lifetime test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-01-16 15:45:22 +03:00
c6ebe1d67d align all nodes to be in the same epoch
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2023-01-13 19:08:08 +03:00
690323e85d http test with bearer token
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-29 12:42:03 +03:00
1abf544433 Add support data and internal ips
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-28 11:26:22 +03:00
4f9294918d add system http system header test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-28 10:10:13 +03:00
2151f0e446 Add await to delete container
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-12-26 17:30:36 +03:00
Vlad K
d9474b9bc9 Revert "Fix: IndexError: list index out of range"
This reverts commit 1dc4516258.
2022-12-26 13:32:16 +03:00
1dc4516258 Fix: IndexError: list index out of range
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-26 13:28:03 +03:00
5c4f6b6a7d new http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-21 17:07:29 +03:00
a2a234f1b2 Update range tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-20 11:26:51 +03:00
1bb640a0db Add load_param file, delete old tests, new universal, parametrized test, add stop unused nodes function.
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-12-12 19:14:17 +03:00
6230d2244e create http folder, and adding a new test for http attributes
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-08 17:24:20 +03:00
05924784ab Remove SIMPLE_OBJ_SIZE and COMPLEX_OBJ_SIZE from env
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-08 13:21:19 +03:00
6567aa72a9 Add bearer token tests for s3 wallet api calls
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-07 11:01:38 +03:00
bd05aae585 Refactor for cluster usage
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-06 12:34:28 +03:00
d9e881001e Add background load fixture
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-05 09:39:15 +03:00
9b0ac8579b Add static session token container tests
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-02 10:55:01 +03:00
30ea4ab54e Add grpc lock tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-11-25 16:45:49 +03:00
08274d4620 Enable tests for fixed functionality
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-11-23 12:34:36 +03:00
2b08a932ac [#312] Add new policy test
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-11-15 10:31:12 +03:00
21f1c3a922 Add static session tests for object
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-11-10 18:48:56 +03:00
9650dfb4aa Add comments to timeout between commands
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-11-10 17:38:26 +03:00
c4b1bcad1c Add timeout between commands
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-11-10 16:10:49 +03:00
bf2f638618 Bump neofs-testlib version 0.3.0 -> 0.4.0
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-11-07 10:45:53 +03:00
55c61ca73f Fix logger output variable
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-11-02 11:18:37 +03:00
b8ab64e2c6 Add http benchmark tests
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-11-01 20:15:38 +03:00
f80a9b7cbe Refactor Api tests and extend get_ranges_tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-11-01 19:12:56 +03:00
bf71f3250d Switch storagegroup and session_token tests to testlib library
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-11-01 16:07:14 +03:00
d21a89485b Fix check headers in object tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-11-01 09:14:55 +03:00
70a0f9f216 Remove neofs-keywords submodule
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-27 11:56:01 +03:00
8a48402f53 Fix failover tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-10-24 14:58:05 +03:00
93e5cb5f46 Add Load library, new params for common.py, new load tests, Adapt K6, remote_process for Hosting
Signed-off-by: a.lipay <a.lipay@yadro.com>
2022-10-19 23:59:42 +03:00
805e014c2f Fix: Allow RANGEHASH by default for system wallets
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-19 18:12:12 +03:00
b38403699c Add shell parameter to head_object calls
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-19 11:39:46 +04:00
3de4d574d3 Fix code that constructs paths
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-18 16:32:53 +04:00
7fcbdb6c34 Rename bearer_token to bearer
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-18 13:52:28 +03:00
8e8a5b6efd Pass shell where it was missed
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-17 14:04:53 +04:00
48e53b3d86 Switch failover test to hosting from testlib
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-14 20:35:26 +04:00
92c034c10b Update environment check for failover tests
With testlib we have a new concept of host. Depending on number of hosts we
can decide whether to run tests or not. This allows us to run failover tests
on devenv if we deploy multiple devenv hosts, also this allows us to add hardware
hosting without modifying code of the tests.

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-14 20:35:26 +04:00
bfd02531ef Integrate with hosting from testlib
Replace service_helper with hosting class from the testlib.
Instead of invoking commands on remote via ssh_helper, we now use
shell from the hosting.

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-14 20:35:26 +04:00
e63db788c5 Use neofs-testlib
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-13 21:59:26 +03:00
31d43fbba9 Fix timeout for node returned wait
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-10-13 13:17:54 +03:00
7e30006623 Fix code formatting in json transformers
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-12 13:07:16 +04:00
3eadf934e0 Fix decode_session_token after API was changed
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-10-12 11:06:41 +03:00
0aeb998be9 [#350] Cleanup utility keywords
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-11 18:14:58 +04:00