From a70b052743fe1c8f6e42908dfb8ec413b81f8853 Mon Sep 17 00:00:00 2001 From: Wei He Date: Tue, 19 Nov 2024 19:39:58 -0800 Subject: [PATCH] fix biased function name list --- .github/workflows/scheduled.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index b702e45ea966a..b6d52a8cc7c86 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -820,12 +820,21 @@ jobs: ls /tmp/signatures echo "Biased functions:" cat /tmp/signatures/presto_bias_functions + function_names="" + IFS=',' read -r -a array <<< $(cat /tmp/signatures/presto_bias_functions) + for x in ${array[@]}; do + if [ -n "$function_names" ]; then + function_names+="," + fi + function_names+=$(echo $x | cut -d '=' -f 1) + done + echo "Biased function names: $function_names" echo "Running Fuzzer for $DURATION" ./velox_expression_fuzzer_test \ --seed ${RANDOM} \ --lazy_vector_generation_ratio 0.2 \ --common_dictionary_wraps_generation_ratio=0.3 \ - --only=$(cat /tmp/signatures/presto_bias_functions) \ + --only=$function_names \ --duration_sec $DURATION \ --enable_variadic_signatures \ --velox_fuzzer_enable_complex_types \