Commit graph

51 commits

Author SHA1 Message Date
84230d12e3 Replace prepare_container*** fixtures with a function.
The change is motivated by variety of standard ACLs that will be hard to manage with set of fixtures.

Remove logic that initializes wallet from remote devenv host.
This setup action should be handled outside tests.

Add ability to establish SSH connection using SSH key instead of password.

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-14 10:02:28 +03:00
6e23e7d454 Simplify test checks and fixtures:
Remove default SSH key path.
Replace multiple fixtures for file generation with single function.
Rename references to keyword modules.
Update pytest test cases to be consistent with new keywords.
Remove gas balance checks from container operations.
Add logic to run initial gas transfer only if storage is not free.
Remove robot testsuites for s3 and http gateways.
S3 and http tests are covered and will be maintained in the future in pytest.

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
2022-07-08 17:45:32 +03:00
a.y.volkov
8acf738147 Remove dockerfile and removed docker run command from Makefile to keep testcases environment agnostic.
Add logic to retrieve mainnet wallet file from control node as WIF for this wallet is not available in config anymore.

Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-07-08 17:45:32 +03:00
anastasia prasolova
82139e30a0 small fixes after [#237]
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-29 16:30:45 +03:00
Elizaveta Chichindaeva
c8a5a63791 [#189] Remove wif from the output of Get Control Endpoint
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-06-28 14:57:31 +03:00
anastasia prasolova
a56734ed93 part of [#194]
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-06-14 00:03:53 +03:00
a.y.volkov
0e27ea02c1 Some linter fixes.
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>
2022-06-09 16:12:55 +03:00
Elizaveta Chichindaeva
6de6af81c7 [#218] Object Size defined in int
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-05-24 16:53:48 +03:00
anastasia prasolova
d940fe9573 storage group operations moved from neofs.py; storage group tests
refactored

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-05-16 14:20:31 +03:00
Elizaveta Chichindaeva
89a4c6daa7 [#424] neofs-cli: WIF replaced with wallets
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-04-27 17:38:15 +03:00
Elizaveta Chichindaeva
e5d6662905 [#162] eACL: Create eACL with neofs-cli
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2022-03-25 14:57:01 +03:00
anastasia prasolova
d66ae5b7fc Refactored Head object operation: removed placeholders for optional
parameters; JSON output set as a default

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-03-22 16:43:24 +03:00
23ed8966ec
robot: Use hyphens in hostnames (#175)
Signed-off-by: Evgenii Stratonikov <evgenii@nspcc.ru>

Co-authored-by: Evgenii Stratonikov <evgenii@nspcc.ru>
2022-03-04 16:37:24 +03:00
anastasia prasolova
e7dde52a31 [#128]: mainnet block time adjusted to devenv
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-02-17 18:22:15 +03:00
Elizaveta Chichindaeva
38e6776fc1 [#105] Change common ACL constants
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-30 18:27:13 +03:00
Elizaveta Chichindaeva
18c30c39ff [#334] Move common_steps*
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 19:24:17 +03:00
Elizaveta Chichindaeva
8a2f1cf50c [#64] Create container_session_token.robot test
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-12-10 16:40:15 +03:00
Elizaveta Chichindaeva
d6a73a2b23 [#103] Test to check eACL filter keys for objects
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-24 16:54:00 +03:00
Elizaveta Chichindaeva
dcab3a5745 [#115] Sticky Bit with SYSTEM group
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-11-22 12:13:22 +03:00
Elizaveta Chichindaeva
42ba6ac462 (#122) neofs-cli control drop-objects test case
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-10-11 11:40:52 +03:00
Anatoly Bogatyrev
1fe540fce9
Add replication test with deny eACL (#133)
* Add replication test with deny eACL
2021-10-07 14:28:31 +03:00
Elizaveta Chichindaeva
636eb65e5c (#93) Add netmap_control.robot; fix resources for netmap tets; remove _get_storage_nodes
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
2021-09-30 19:32:04 +03:00
anastasia prasolova
54835b5ee5 changed pythonpath for virtualenv; shortened test libraries imports
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-28 13:58:08 +03:00
anastasia prasolova
19f9d97328 (#102): neofs-cli accounting balance test
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-10 15:03:29 +03:00
anastasia prasolova
be281428b5 Waiting for container to appear in network; decrease complex object size
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-09-03 13:28:12 +03:00
EliChin
fe99c143aa (#87) Service tests update
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-09-01 16:58:22 +03:00
EliChin
ea6a01b3de (#97) Common ACL variables
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-08-31 12:55:33 +03:00
anastasia prasolova
11c4f21faa Few test fixes
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-08-31 12:32:28 +03:00
EliChin
cc9780f4c5 Set common placement rule
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-08-25 15:28:33 +03:00
EliChin
1c2fd5cead (#37) Test networkinfo_rpc_method.robot
Signed-off-by: EliChin <elizaveta@nspcc.ru>
2021-07-14 14:20:06 +03:00
anastasia prasolova
0736cae28c move to python3.8
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-07-12 19:12:27 +03:00
anastasia prasolova
a3f7583706 static eacl tables
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-25 11:52:30 +03:00
anastasia prasolova
28af257f8f (#66) TEMP_DIR -> ASSETS_DIR
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-18 18:15:43 +03:00
anastasia prasolova
8d50305982 "Neofs Deposit" moved to keywords repo and changed its signature
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-06-17 13:26:27 +03:00
anatoly-bogatyrev
e0b0cbf823
Update testcases for NeoFS 0.20.0 version and fix issues (#62)
* update testcases for NeoFS 0.20.0 version
* fix issues
2021-05-26 17:14:46 +03:00
anastasia prasolova
17047720fd payment keywords moved to keywords repo (#60)
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-05-11 14:49:43 +03:00
anastasia prasolova
d841f3f9ef "create container" -> "prepare container" misprint fixed
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-05-07 14:46:04 +03:00
Anastasia Prasolova
9c1d4b9b07
single keyword for wallet initialization (#54)
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2021-04-26 20:48:43 +03:00
anatoly-bogatyrev
286a5ade31
#55: 'Get Docker Logs' keyword update 2021-04-25 13:43:39 +03:00
EliChin
d03e81d4ab
All environment variables. (#51)
* All environment variables.

* All environment variables.
2021-04-20 16:11:27 +03:00
EliChin
f72f1c6bbf
Config file optimized (#50)
* With all envvar added.

* neofs_int_vars.py deleted

* Variables put in common.py

* Variables put in common.py

* Update common.py

* Update common.py

* Update common.py

* Update common.py

* Update common.py

* Update common.py

* Update common.py
2021-04-20 12:51:53 +03:00
anatoly-bogatyrev
7a4ca9b7cc
Object expiration test case (#47)
* Object expiration test case has been added
* Common steps have been separated from object test cases
* Timeouts have been moved to pre-declared variables
2021-04-06 17:18:48 +03:00
anatoly-bogatyrev
4ac2f11300
Update to work with the latest NeoFS build and ACL cases decomposition (#45)
* Update to work with the latest NeoFS build
* ACL cases decomposition
* Sleep has been added to correct work with ACL cache
2021-04-02 17:29:41 +03:00
EliChin
f70e0852aa
Temporary Directory created 2021-03-29 13:18:24 +03:00
anatoly-bogatyrev
0a47c0a815
Additional linking object search (#38)
* Withdraw test case improvements
* Additional linking object requests to detect issue details with unreturned Linking object
2021-02-20 17:05:03 +03:00
anatoly-bogatyrev
bb3c2bd208
Testcases to cover S3 in the smoke test and updates in accordance with NeoFS 0.13.0 have been updated (#5)
* Coverage of the S3 gateway and "S3-gate - NeoFS - HTTP-gate" interaction has been added to the Selectel smoke test.
2020-12-16 14:19:24 +03:00
anastasia prasolova
0c4a035e22 INFRA-236 selectel cdn smoke tests 2020-11-30 13:33:05 +03:00
Anatoly Bogatyrev
0ecfd11821 Merged in feature/bearer (pull request #7)
Feature/bearer

* Bearer Token testcase, Netmap testcase, Fix of existed test cases
‌
2020-09-01 03:23:17 +00:00
Anatoly Bogatyrev
029693653e Merged in features/neo-rpc (pull request #2)
Object user scenarios and DevEnv integration

* Object user scenarios and DevEnv integration.
2020-07-01 02:28:31 +00:00
anastasia prasolova
b23a49211b INFRA-144 CI for test image ; readme 2020-05-20 15:26:13 +03:00