Commit graph

77 commits

Author SHA1 Message Date
1e6d3e77f9 Divide test_expiration_epoch_in_http into several (parametrized)
Two tests now checks if an expired object can be got.
X-Attribute-System-Expiration-Epoch -> X-Attribute-System-Expiration-Epoch
python3.9 -> 3.10 in .pre-commit-config.yaml

Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-04-13 14:19:15 +03:00
520ac116df Update multipart upload abort test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-04-06 21:47:08 +03:00
d355eccfd8 Add deletion 1001 objects test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-04-05 19:02:42 +03:00
b995bfca41 Fix s3 tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-29 19:59:14 +03:00
4779d2be88 update headers names
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-27 19:49:41 +03:00
c3947b0716 Remove payments and storagegroupe tests
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-14 14:46:25 +00:00
c97855dcee Fix __FROSTFS__EXPIRATION*
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-14 16:24:29 +03:00
c997e23194 Updates for testcases
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-03-14 12:21:40 +03:00
Aleksei Chetaev
52001dc23a Change all imports to imports from root and remove robot
Signed-off-by: Aleksei Chetaev <alex.chetaev@gmail.com>
2023-02-28 11:48:06 +01:00
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
9395a8003f Add assert_s3_acl
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2023-02-16 11:53:39 +03: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
a942464de6 Fix epoch duration in http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-30 13:40:10 +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
5c4f6b6a7d new http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-21 17:07:29 +03:00
ee204528b8 fix lock_mode
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-15 16:44:18 +03:00
4003d0115c Fix s3 range tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2022-12-14 11:22:11 +03:00
614031a53a Fix s3 object tests after remove obj size hardcode
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-12-09 14:45:30 +03:00
ddf6406e10 fix generate file in http test
Signed-off-by: Vladislav Karakozov <v.karakozov@yadro.com>
2022-12-09 14:35:43 +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
bd05aae585 Refactor for cluster usage
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2022-12-06 12:34:28 +03:00
455cafa08a add new test for 10 paths
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-12-02 10:02:14 +03:00
b2a17c26e7 Add bucket as fixture to s3_test
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-11-30 17:15:21 +03:00
69efc2fcce Changed placement rules REP 2 IN X CBF 2 SELECT 2 FROM * AS X for http tests
Signed-off-by: acheyda <a.cheyda@yadro.com>
2022-11-22 16:06:23 +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
a0da15e60b add new check for tags
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-11-14 15:41:42 +03:00
f9fa249cf2 Add new testmarks
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-11-10 10:11:02 +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
c9e42a7a0a [#312] Add new Locking test
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-11-01 11:43:46 +03:00
2e8e105756 exclude multiupload from dev-env
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-10-28 17:32:15 +03:00
70a0f9f216 Remove neofs-keywords submodule
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-27 11:56:01 +03:00
f70dc9d648 Add tag
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-10-25 15:25:13 +03:00
5cab1ecf19 Fix put object with --grant-full-control id=mycanonicaluserid
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-10-21 16:22:18 +03:00
3de4d574d3 Fix code that constructs paths
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-18 16:32:53 +04:00
b64656f0b3 Don't check ACL in sync test
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-10-17 15:04:54 +03:00
anastasia prasolova
4b3a5f60c4 Add check to version test S3
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-10-17 12:58:15 +03: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
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
cf748bf785 Fix 'datetime.datetime' is not iterable
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-10-14 13:01:42 +03:00
e63db788c5 Use neofs-testlib
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-13 21:59:26 +03:00
6734cd70e6 [#312] Add new multipart upload test
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-10-13 10:20:44 +03:00
5eeb8b4058 [#350] Move file-related functions to file_helper
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-12 10:18:44 +04:00
ce41104d3a Fix regexp for error put object with lock mode
Signed-off-by: Yulia Kovshova <y.kovshova@yadro.com>
2022-10-11 18:26:25 +03:00
0aeb998be9 [#350] Cleanup utility keywords
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-10-11 18:14:58 +04:00