X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fcommon.sh;h=f3e86164e1282b0b427b36e08f0b76309ad76ec6;hb=HEAD;hp=83886497eab3b368ea68808a7d0020f7ddf5f40f;hpb=ce024124889d82370718293662fb8aa005b79155;p=csit.git diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 83886497ea..8a46fc329d 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -1052,6 +1052,12 @@ function select_tags () { awk {"$awk_nics_sub_cmd"} || echo "perftest") || die SELECTION_MODE="--test" ;; + *"soak-weekly"* ) + readarray -t test_tag_array <<< $(grep -v "#" \ + ${tfd}/soak_weekly/${DUT}-${NODENESS}-${FLAVOR}.md | + awk {"$awk_nics_sub_cmd"} || echo "perftest") || die + SELECTION_MODE="--test" + ;; *"report-iterative"* ) test_sets=(${TEST_TAG_STRING//:/ }) # Run only one test set per run @@ -1151,11 +1157,13 @@ function select_tags () { TAGS=() prefix="" - if [[ "${TEST_CODE}" == "vpp-"* ]]; then - if [[ "${TEST_CODE}" != *"device"* ]]; then - # Automatic prefixing for VPP perf jobs to limit the NIC used. - if [[ "${TEST_TAG_STRING-}" != *"nic_"* ]]; then - prefix="${default_nic}AND" + if [[ "${TEST_CODE}" != *"daily"* ]]; then + if [[ "${TEST_CODE}" == "vpp-"* ]]; then + if [[ "${TEST_CODE}" != *"device"* ]]; then + # Automatic prefixing for VPP perf jobs to limit the NIC used. + if [[ "${TEST_TAG_STRING-}" != *"nic_"* ]]; then + prefix="${default_nic}AND" + fi fi fi fi @@ -1355,7 +1363,8 @@ function set_environment_variables () { export TREX_CORE_COUNT=14 ;; *"2n-x-"* | *"3n-x-"* ) - export TREX_CORE_COUNT=2 + export TREX_CORE_COUNT=6 + export TREX_PORT_MTU=9000 ;; esac }