56 Commits

Author SHA1 Message Date
Roman
045a8b495e
fix: remove assertions from exception handling 2025-03-17 08:06:33 +00:00
Radosław Kamiński
a2c33d6404
test: Disperse large volume data [TC8.3] (#9)
* test large volume

* refactor prepare_cluster_config

* refactor test case

* add more cases

* update cases

* update cases

* use faker to generate text

* handle none response and remove assertion
2025-03-13 10:18:02 +00:00
Roman
463875f7bf
fix: refactor disperse_data and get_data_range
- make check log errors optional
2025-03-12 05:11:20 +00:00
Roman
bc7fc6164f
fix: move status code assertion to caller
- replace Exception with AssertionError
2025-03-12 03:07:32 +00:00
Roman
a373193bdb
fix: simplify invalid REST API usage 2025-03-12 00:12:35 +00:00
Roman
5305bc9102
fix: update related test and variables 2025-03-10 05:57:22 +00:00
Roman
d85c19269a
test: replace client node with proxy client 2025-03-10 03:33:54 +00:00
Roman
dd1134dcc4
test: with invalid requests 2025-03-07 03:33:34 +00:00
Roman
04f2f1ad85
fix: get data range from remote host 2025-03-06 02:14:41 +00:00
Roman
7c4e0a64ec
fix: dispersal to remote host 2025-03-06 01:57:21 +00:00
Roman
d9e207fb1d
test: remote API call
- parallel container stop
2025-03-05 06:50:20 +00:00
Roman
c4fad7ac84
test: stop client nodes after test 2025-03-05 05:20:51 +00:00
Roman
6ff8510d61
test: client node run 2025-03-05 04:03:27 +00:00
Roman
7e11b4939c
test: client nodes initialization 2025-03-05 03:37:11 +00:00
Roman
34df0f5c7f
test: spam protection random bytes single burst
- prevent false positives
2025-03-03 00:33:41 +00:00
Roman Zajic
1022a14e76
Merge branch 'master' into test-dos-robustness 2025-03-03 07:10:22 +08:00
Roman
8db3014407
fix: add params utf8 and padding to disperse_data 2025-02-28 03:52:02 +00:00
Roman
bf236107bb
fix: use utf8 and padding separately 2025-02-28 03:40:25 +00:00
Roman
442a94551d
fix: reduce delay(5) occurrence 2025-02-28 01:34:53 +00:00
Roman
ab9825ca0a
test: consumed bandwidth random data dispersal 2025-02-28 01:18:14 +00:00
Roman
768bc30201
test: spam protection with valid uploads
- move delay(5) to fixtures
2025-02-27 05:56:14 +00:00
Roman
0b6fc270e7
fix: call the functions 2025-02-25 16:56:36 +11:00
Roman
48847ce5cc
fix: add optional timeout to disperse and get range 2025-02-25 16:39:55 +11:00
Roman
db1856de69
fix: add dispersal overhead check
- improve error handling for disperse_data
2025-02-21 19:00:04 +11:00
Roman
f11208c649
fix: cleanup logging in prepare_cluster_config 2025-02-21 10:30:57 +11:00
Roman
cc8ff45d76
test: use cfgsync template 2025-02-21 10:10:34 +11:00
Roman
e83e0b0b23
test: disperse to nodes member of many subnets 2025-02-20 16:52:53 +11:00
Roman
cdc7836e33
fix: conversion functions for index and app_id 2025-02-13 11:07:41 +08:00
Roman
ebd56ce282
fix: indexing for ensure_nodes_ready 2025-02-12 22:09:55 +08:00
Roman
51d108ccd0
fix: add response content check
- minor log changes
- return try to disperse_data
- increase timeouts
2025-02-12 10:38:15 +08:00
Roman
ca8eabfc35
fix: use 4 node instead of 5 node cluster
- fix test_da_identify_retrieve_missing_columns
2025-02-11 16:11:14 +08:00
Roman
c84f461b45
fix: add remove_padding
- parse exact result
2025-02-11 14:20:58 +08:00
Roman
f227425f96
fix: close rest connection
- log node as container name
- make disperse_data retry
- fix cli_args assignment
2025-02-10 15:08:29 +08:00
Roman
0c91fe7e13
fix: add padding for dispersal data 2025-01-23 11:40:36 +08:00
Roman
5f68514156
fix: optimize setup fixtures 2025-01-22 15:40:38 +08:00
Roman
1b0731f2ad
fix: copy appropriate config for desired cluster 2025-01-22 15:19:18 +08:00
Roman
4bc7c74d91
test: retrieve data from half of nodes
-
2025-01-22 14:47:33 +08:00
Roman
56a4f6ba5c
fix: find executor node
- use oneliner for volumes
2025-01-21 16:57:23 +08:00
Roman
696a6b2b66
test: default config for 5 nodes temporarily 2025-01-21 15:39:45 +08:00
Roman
d021e52efd
fix: main nodes setup to 2 node cl setup 2025-01-21 14:55:26 +08:00
Roman
77ce25cb0b
test: let the test decode data 2025-01-20 14:37:43 +08:00
Roman
be897bf95e
test: show response 2025-01-20 14:34:48 +08:00
Roman
01b6025afb
test: use json response 2025-01-20 14:32:19 +08:00
Roman
c5f82e6176
test: debug received data 2025-01-20 14:23:59 +08:00
Roman
536864e168
fix: access response.content 2025-01-20 14:14:59 +08:00
Roman
578efed150
fix: decode data bytes 2025-01-20 14:02:18 +08:00
Roman
b028574a8c
fix: add data extraction and decoding 2025-01-20 13:48:12 +08:00
Roman
a56dbfc34b
fix: remove hardcoded values from disperse_dat 2025-01-17 19:49:53 +08:00
Roman
53bb7906af
test: get_data_range 2025-01-17 19:27:43 +08:00
Roman
1025e36a1d
fix: index should be list of 8 integers 2025-01-17 15:16:51 +08:00