Skip to content

Commit 310f8c1

Browse files
authored
first, changing the variables (#756)
1 parent 8a32f60 commit 310f8c1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

tests/qa/release.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"teardown": true,
1616
"name": "xenial-amd64-aws",
1717
"concurrency": 1,
18-
"module_url": "http://redismodules.s3.amazonaws.com/{{RS_MODULE_FILE_PREFIX}}/{{RS_MODULE_FILE_PREFIX}}-cpu.linux-xenial-x64.{{MODULE_VERSION}}.zip"
18+
"module_url": "http://redismodules.s3.amazonaws.com/{{RS_MODULE_LC}}/{{RS_MODULE_FILE_PREFIX}}.linux-xenial-x64.{{MODULE_VERSION}}.zip"
1919
},
2020
{
2121
"teardown": true,
2222
"name": "bionic-amd64-aws",
2323
"concurrency": 1,
24-
"module_url": "http://redismodules.s3.amazonaws.com/{{RS_MODULE_FILE_PREFIX}}/{{RS_MODULE_FILE_PREFIX}}-cpu.linux-bionic-x64.{{MODULE_VERSION}}.zip"
24+
"module_url": "http://redismodules.s3.amazonaws.com/{{RS_MODULE_LC}}/{{RS_MODULE_FILE_PREFIX}}.linux-bionic-x64.{{MODULE_VERSION}}.zip"
2525
}
2626
]
2727
}

tests/qa/run

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ if [[ $1 == --help || $1 == help ]]; then
2929
fi
3030

3131
export RS_MODULE=RedisAI
32+
export RS_MODULE_LC=${RS_MODULE,,}
3233
export RS_MODULE_FILE_PREFIX=redisai-cpu
3334

3435
if [[ -z $QA_AUTOMATION_USERNAME && $NOP != 1 ]]; then
@@ -47,6 +48,7 @@ if [[ ! -f $HERE/$TEST.json ]]; then
4748
fi
4849

4950
run_test() {
51+
set -x
5052
export RS_VERSION=$1
5153

5254
if [[ -z $MODULE_VERSION ]]; then
@@ -62,7 +64,7 @@ run_test() {
6264
cd $HERE
6365

6466
json_in=$(mktemp /tmp/$TEST.json.XXXX)
65-
$READIES/bin/xtx -e RS_MODULE -e RS_MODULE_FILE_PREFIX -e MODULE_VERSION -e RS_VERSION $TEST.json > $json_in
67+
$READIES/bin/xtx -e RS_MODULE -e RS_MODULE_LC -e RS_MODULE_FILE_PREFIX -e MODULE_VERSION -e RS_VERSION $TEST.json > $json_in
6668
(( VERBOSE >= 1 )) && cat $json_in
6769

6870
if [[ $NOP == 1 ]]; then

0 commit comments

Comments
 (0)