Commit graph

371 commits

Author SHA1 Message Date
d82ce3626f Add autotest for resolving with bucket name and object name
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-11-13 10:26:27 +00:00
a2838455cc Update check Policy: REP 1 IN SPB REP 1 IN MSK REP 3 2023-11-13 10:02:29 +00:00
0f5f5da9d3 [#135]Fixed test title
Test title was wrong before

Signed-off-by: Mikhail Kadilov <m.kadilov@yadro.com>
2023-11-08 19:13:32 +03:00
d0ec778346 Change sanity makrs first step
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-02 14:06:31 +03:00
52ea27e01e Remove sanity from awsclient
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-02 14:06:31 +03:00
d7144c65bf Skip teardown if sanity in markexpr 2023-11-02 14:06:31 +03:00
e5093bf6ac Remove pytest hooks 2023-11-02 14:06:25 +03:00
975d06de40 Add sanity marks
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-11-02 13:58:16 +03:00
aab8b07726 Add time test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-11-02 08:43:22 +00:00
3944d9ff3b update test_container_creation_deletion_parallel 2023-11-01 10:43:43 +03:00
ae57672c7d [#129] Updates for failover
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-31 14:28:44 +03:00
e8289a3f83 Update check Policy: REP 1 IN SPB REP 1 IN MSK REP 3 2023-10-27 16:21:46 +03:00
00f312dab9 Update check filters results with 25% node the object appearance 2023-10-27 13:19:34 +03:00
eee02d1346 Update check filters results with 50% node the object appearance 2023-10-26 16:14:30 +00:00
e7e963b1a1 Delete non actual policy test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-26 10:37:54 +03:00
6749245206 Add fixture skip test interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-25 14:10:59 +00:00
d986fe2fb6 [#124] Use CSC in case of node shutdown
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-25 13:15:54 +00:00
6128468310 Update check filters results with 75% node the object appearance 2023-10-25 11:01:50 +03:00
69202cc703 Add test down interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-24 12:42:01 +00:00
009f2876a2 Update check filters results with 100% node the object appearance 2023-10-24 11:43:53 +03:00
c5f6d6cf2b [#120] increase 1sec wait to 15sec
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-23 19:42:23 +03:00
f159cd89f3 [#118] Add after-deploy healthcheck
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-23 15:04:41 +00:00
283149f837 Update check filters results with unique node the object appearance 2023-10-23 17:11:53 +03:00
af50be78e6 Update check filters results with one node the object appearance 2023-10-23 16:13:10 +03:00
cbbbc686f4 Update simple check the object appearance 2023-10-23 08:30:18 +00:00
b72f6daeb7 [#115] Make logs gathering parallel and in single command
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-20 18:50:02 +03:00
ad1254b4f3 [#113] Add new pattern
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-20 12:35:32 +03:00
2564f7421e Add test down all data interfaces
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-19 10:04:22 +00:00
bcc61303df Update placement rule 2023-10-18 14:57:52 +03:00
6b8800760d Add policy REP 1 IN SPB REP 1 IN MSK REP 3 2023-10-18 13:54:58 +03:00
5eae65b471 Add negative policy tests 2023-10-18 13:08:15 +03:00
78b0fd5b2a Update policy tests 2023-10-17 11:28:09 +00:00
20d6510c3a Add small fix and delete test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-13 11:52:42 +03:00
adfd6854f8 Add network internal interface test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-12 10:30:13 +03:00
b3c24828d3 [#103] Make allure treat same test differently 2023-10-10 16:17:56 +00:00
1d22162d2f Add network data interface test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-10 16:39:24 +03:00
c4f4e637fa [#101] add request to proper work
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-06 12:13:10 +03:00
38d1bdbf83 [#100] Make special test distinct 2023-10-05 19:05:34 +03:00
b01fff85f6 Delete split-brain test
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-04 08:27:52 +00:00
4f78085b44 Add await mode for delete container
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-10-03 09:45:19 +03:00
f70dfd310e [#97] Use shards config path
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-10-02 07:49:44 +00:00
07debbb1ca [#96] Move healthcheck to function level
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-29 16:16:06 +03:00
7c788057db Fix empty map tests
Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
2023-09-27 18:28:56 +03:00
a0ea180aa9 add policy 2023-09-25 13:59:17 +00:00
73a9c95704 Attach ACL wallets to allure
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-21 19:49:31 +03:00
d38e05c100 Fix teardown for network test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-19 14:35:21 +00:00
2a1d40680a Add new fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-19 08:35:27 +00:00
ed15485b72 Add new fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-19 08:35:27 +00:00
3021805f7e Fix tests title
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-11 16:59:06 +03:00
1cd077fdf3 Update test titles to conform standard 2023-09-08 10:42:47 +00:00
4d2e27a317 Fix policy
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-07 13:40:42 +03:00
967f4f37d9 Change file_pith fixture and change title test acl
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-09-07 08:59:03 +00:00
28a7748398 Update regex to skip panic in OID and CID
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-09-06 17:13:26 +03:00
3455c5360d add 2 cases for test object lock 2023-09-01 09:06:46 +00:00
9456a0bb28 Update regex to catch more errors 2023-08-30 11:32:59 +00:00
841d6674f6 Update fixtures to be properly reflected in the allure report 2023-08-29 16:43:16 +03:00
ee110e5baf change hostname
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-24 08:30:31 +03:00
da31a82126 Add replace in assert policy and fix policy
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-17 11:54:13 +03:00
e70532d6e0 New test Split Brain
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-08-16 11:53:14 +03:00
Yaroslava Lukoyanova
4a17bc7b9c Marked HTTP GW cases with PUT call with separate pytest mark 2023-08-09 08:08:23 +00:00
247bc5ba8d Update name for missed S3 test 2023-08-08 14:56:46 +03:00
Yaroslava Lukoyanova
0ae0cee522 Small fixes and skips for http gw test cases 2023-08-07 14:46:38 +00:00
e0a9d687f2 Update test titles for most cases 2023-08-07 12:43:16 +03:00
d40e875091 regex for versions ready 2023-08-04 09:49:59 +00:00
6449264dcf Changes for object size usage
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-08-02 14:54:03 +03:00
05b5f7d133 Mark replication test as failover and add fixture to return nodes 2023-07-31 12:27:12 +03:00
63c4ac5ac6 Add simple replication test
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2023-07-28 08:29:32 +00:00
49e1019a2c Fix method name
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-07-27 12:05:49 +03:00
Yaroslava Lukoyanova
0e1d34b2f7 Added http hostname as a header to all http calls 2023-07-25 14:08:26 +03:00
Yaroslava Lukoyanova
89a31a695b Skipped HTTP GW cases with PUT 'cause of feature deprecation 2023-07-24 06:56:29 +00:00
f4a267fe81 Changed fixture restore network
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-07-12 12:05:36 +03:00
dc13252ff2 Add logs
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-27 15:39:00 +00:00
Yaroslava Lukoyanova
d97d852940 Deprecated bearer-rules parameter 2023-06-26 17:23:29 +03:00
79a60c5e5b Temp disable curl upload for complex objects
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-06-23 17:50:18 +03:00
5acf19592a Fix s3_client fixture
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-22 10:30:09 +00:00
ead55f657f Delete object after put to container
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-19 07:43:48 +03:00
01f4c5217d Delete wait replication steps for tests
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-15 09:11:19 +03:00
Yaroslava Lukoyanova
c2cd9ba887 Added case for not ignoring unhealthy tree endpoints 2023-06-14 08:28:39 +00:00
6f77a6ab08 Fix test shutdown node
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-06-09 09:21:56 +03:00
Yaroslava Lukoyanova
dd7f91e66b Add case for loss of pilorama on one node 2023-06-05 10:39:36 +03:00
Yaroslava Lukoyanova
c071f54b56 Add test case for loss of one node 2023-06-01 14:24:48 +03:00
a0587438c4 Add write-cache loss test
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-31 18:31:35 +03:00
27cf9bb1bd Add metabase loss test 2023-05-30 16:45:23 +03:00
Yaroslava Lukoyanova
d0660d626b Fixture for restore stopped storage nodes in test_failover_storage 2023-05-29 17:50:02 +00:00
Yaroslava Lukoyanova
e36e18dc57 Fixed typo in test_s3_delete_versioning case assertion 2023-05-25 15:58:04 +00:00
Yaroslava Lukoyanova
8d50407439 Add pilorama loss test cases, marked as skipped 2023-05-23 17:42:52 +03:00
Yaroslava Lukoyanova
520f9fe5b5 Add test cases for S3 blobovnicza and fstree loss 2023-05-19 12:41:57 +00:00
2d174831ab Add wait block for tick epoch and add version testlib
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-19 15:30:29 +03:00
5be478e577 Test for invalid location constraint
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-05-18 13:49:48 +00:00
856e5afa60 [#41] lifetime: Fix lifetime test
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-05-17 12:33:04 +03:00
8a3d617c19 Fix tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-15 20:20:27 +03:00
c77123f301 Move shared code to testlib
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-15 12:59:33 +03:00
Yaroslava Lukoyanova
b13f0ec33d Added new test cases for s3 gate, delete marker feature 2023-05-12 08:48:28 +00:00
cbe8847231 Node argument made optional for epoch ticks
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-10 11:53:47 +03:00
a6e1190f23 Add tests for node shutdown and object replication integrity
Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
2023-05-05 08:18:46 +00:00
bbf9ea7143 Use proper name for binary
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
2023-05-03 16:23:05 +03:00
532d58abc7 Add check for Errors while deleting objects 2023-05-02 11:11:35 +03:00
e86ed765b1 Add test for putting object while one node is stopped
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-04-20 17:40:30 +03:00
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