We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50dba92 + cd06e80 commit d8ee850Copy full SHA for d8ee850
tests/rptest/redpanda_cloud_tests/high_throughput_test.py
@@ -958,8 +958,11 @@ def deployment_ready_replicas():
958
])
959
960
self.logger.info('patching deployment to allow downscaling')
961
- deployment_args = deployment_args.decode().replace(
962
- '--allow-downscaling=false', '--allow-downscaling=true', 1)
+ if isinstance(deployment_args, bytes):
+ deployment_args = deployment_args.decode()
963
+ deployment_args = deployment_args.replace('--allow-downscaling=false',
964
+ '--allow-downscaling=true',
965
+ 1)
966
patch = [{
967
'op': 'replace',
968
'path': '/spec/template/spec/containers/0/args',
0 commit comments