Skip to content

Commit 129248b

Browse files
committed
skip ir-core tests
Committed-by: bingqing.lbq from Dev container
1 parent df891a3 commit 129248b

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

interactive_engine/compiler/ir_csr_ci.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ cd ${base_dir}/../executor/ir/target/release &&
55
RUST_LOG=info CSR_PATH=/tmp/gstest/modern_graph_csr_bin PARTITION_ID=0 ./start_rpc_server_csr --config ${base_dir}/../executor/ir/integrated/config &
66
sleep 5s
77
# start compiler service
8-
cd ${base_dir} && make run graph.store=rust-mcsr &
8+
cd ${base_dir} && make run graph.store=rust-mcsr gremlin.script.language.name=antlr_gremlin_calcite graph.physical.opt=proto graph.planner.opt=CBO graph.statistics=./src/test/resources/statistics/modern_statistics.json &
99
sleep 5s
1010
# run gremlin standard tests
11-
cd ${base_dir} && make gremlin_test
11+
cd ${base_dir} && make gremlin_calcite_test
1212
exit_code=$?
1313
# clean service
1414
ps -ef | grep "com.alibaba.graphscope.GraphServer" | grep -v grep | awk '{print $2}' | xargs kill -9 || true
1515
ps -ef | grep "start_rpc_server" | grep -v grep | awk '{print $2}' | xargs kill -9
1616
# report test result
1717
if [ $exit_code -ne 0 ]; then
18-
echo "ir integration test on experimental store fail"
18+
echo "ir integration test on csr store fail"
1919
exit 1
2020
fi

interactive_engine/compiler/ir_experimental_ci.sh

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,26 @@ base_dir=$(cd $(dirname $0); pwd)
33

44
# Test1: run gremlin standard tests on experimental store via ir-core
55
# start engine service and load modern graph
6-
cd ${base_dir}/../executor/ir/target/release && RUST_LOG=info ./start_rpc_server --config ${base_dir}/../executor/ir/integrated/config &
7-
sleep 5s
8-
# start compiler service
9-
cd ${base_dir} && make run &
10-
sleep 5s
11-
# run gremlin standard tests
12-
cd ${base_dir} && make gremlin_test
13-
exit_code=$?
14-
# clean service
15-
ps -ef | grep "com.alibaba.graphscope.GraphServer" | grep -v grep | awk '{print $2}' | xargs kill -9 || true
16-
# report test result
17-
if [ $exit_code -ne 0 ]; then
18-
echo "ir gremlin integration test on experimental store fail"
19-
exit 1
20-
fi
6+
# cd ${base_dir}/../executor/ir/target/release && RUST_LOG=info ./start_rpc_server --config ${base_dir}/../executor/ir/integrated/config &
7+
# sleep 5s
8+
# # start compiler service
9+
# cd ${base_dir} && make run &
10+
# sleep 5s
11+
# # run gremlin standard tests
12+
# cd ${base_dir} && make gremlin_test
13+
# exit_code=$?
14+
# # clean service
15+
# ps -ef | grep "com.alibaba.graphscope.GraphServer" | grep -v grep | awk '{print $2}' | xargs kill -9 || true
16+
# # report test result
17+
# if [ $exit_code -ne 0 ]; then
18+
# echo "ir gremlin integration test on experimental store fail"
19+
# exit 1
20+
# fi
2121

2222
# Test2: run gremlin standard tests on experimental store via calcite-based ir
23-
# restart compiler service
23+
# start engine service and load modern graph
24+
cd ${base_dir}/../executor/ir/target/release && RUST_LOG=info ./start_rpc_server --config ${base_dir}/../executor/ir/integrated/config &
25+
# start compiler service
2426
cd ${base_dir} && make run gremlin.script.language.name=antlr_gremlin_calcite graph.physical.opt=proto graph.planner.opt=CBO graph.statistics=./src/test/resources/statistics/modern_statistics.json &
2527
sleep 5s
2628
# run gremlin standard tests to test calcite-based IR layer

0 commit comments

Comments
 (0)