aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-09-25 21:02:52 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-09-25 21:25:45 +0300
commit15b8ce0fc8187747cee3c0c3abc61f6792721f1c (patch)
tree443c227e804090a0b0a568eb896d86040f9b3d9b
parent0444914742bdbcebae931d4a7e98473df50854f9 (diff)
downloadydb-15b8ce0fc8187747cee3c0c3abc61f6792721f1c.tar.gz
Compile Java with tests using py3 flavored ymake
-rw-r--r--build/plugins/ytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py
index afbafd7f09..642223fe0b 100644
--- a/build/plugins/ytest.py
+++ b/build/plugins/ytest.py
@@ -949,7 +949,7 @@ def onjava_test(unit, *args):
if prop['type'] == 'file':
test_data.append(prop['path'].replace('${ARCADIA_ROOT}', 'arcadia'))
- props = base64.b64encode(json.dumps(props, encoding='utf-8'))
+ props = base64.b64encode(six.ensure_binary(json.dumps(props)))
test_cwd = unit.get('TEST_CWD_VALUE') or '' # TODO: validate test_cwd value