File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
ydb/tests/stress/reconfig_state_storage_workload/workload Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -237,20 +237,20 @@ def _loop(self):
237
237
for i in range (len (newRingGroup )):
238
238
newRingGroup [i ]["WriteOnly" ] = True
239
239
logger .info (self .do_request ({"ReconfigStateStorage" : {f"{ self .config_name } Config" : {
240
- "RingGroups" : defaultRingGroup + newRingGroup }}}))
240
+ "RingGroups" : defaultRingGroup + newRingGroup }}}))
241
241
time .sleep (3 )
242
242
for i in range (len (newRingGroup )):
243
243
newRingGroup [i ]["WriteOnly" ] = False
244
244
logger .info (self .do_request ({"ReconfigStateStorage" : {f"{ self .config_name } Config" : {
245
- "RingGroups" : defaultRingGroup + newRingGroup }}}))
245
+ "RingGroups" : defaultRingGroup + newRingGroup }}}))
246
246
time .sleep (3 )
247
247
for i in range (len (defaultRingGroup )):
248
248
defaultRingGroup [i ]["WriteOnly" ] = True
249
249
logger .info (self .do_request ({"ReconfigStateStorage" : {f"{ self .config_name } Config" : {
250
- "RingGroups" : newRingGroup + defaultRingGroup }}}))
250
+ "RingGroups" : newRingGroup + defaultRingGroup }}}))
251
251
time .sleep (3 )
252
252
logger .info (self .do_request ({"ReconfigStateStorage" : {f"{ self .config_name } Config" : {
253
- "RingGroups" : newRingGroup }}}))
253
+ "RingGroups" : newRingGroup }}}))
254
254
time .sleep (3 )
255
255
curConfig = self .do_request_config ()[f"{ self .config_name } Config" ]
256
256
expectedConfig = {"Ring" : newRingGroup [0 ]} if len (newRingGroup ) == 1 else {"RingGroups" : newRingGroup }
Original file line number Diff line number Diff line change 5
5
)
6
6
7
7
PEERDIR(
8
+ contrib/python/requests
8
9
ydb/public/sdk/python
9
10
ydb/public/sdk/python/enable_v3_new_behavior
10
11
ydb/tests/stress/common
You can’t perform that action at this time.
0 commit comments