Skip to content

Commit e347f9a

Browse files
committed
Disable valgrind for now, and start up kafka/zk before starting building
1 parent 8f37c49 commit e347f9a

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

test_suite.sh

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,36 @@ run_with_valgrind() {
2929
# Initialize.
3030

3131
git submodule update --init
32-
cargo test --no-run
3332
docker-compose up -d
33+
cargo test
3434

3535
# Run unit tests.
3636

37-
echo_good "*** Run unit tests ***"
38-
for test_file in target/debug/deps/rdkafka-*
39-
do
40-
if [[ -x "$test_file" ]]
41-
then
42-
echo_good "Executing "$test_file""
43-
run_with_valgrind "$test_file"
44-
fi
45-
done
46-
echo_good "*** Unit tests succeeded ***"
47-
48-
# Run integration tests.
49-
50-
echo_good "*** Run unit tests ***"
51-
for test_file in target/debug/deps/test_*
52-
do
53-
if [[ -x "$test_file" ]]
54-
then
55-
echo_good "Executing "$test_file""
56-
run_with_valgrind "$test_file"
57-
fi
58-
done
59-
echo_good "*** Integration tests succeeded ***"
37+
#echo_good "*** Run unit tests ***"
38+
#for test_file in target/debug/deps/rdkafka-*
39+
#do
40+
# if [[ -x "$test_file" ]]
41+
# then
42+
# echo_good "Executing "$test_file""
43+
# run_with_valgrind "$test_file"
44+
# fi
45+
#done
46+
#echo_good "*** Unit tests succeeded ***"
47+
#
48+
## Run integration tests.
49+
#
50+
#echo_good "*** Run integration tests ***"
51+
#for test_file in target/debug/deps/test_*
52+
#do
53+
# if [[ -x "$test_file" ]]
54+
# then
55+
# #echo_good "*** Restarting kafka/zk ***"
56+
# #docker-compose restart --timeout 30
57+
# echo_good "Executing "$test_file""
58+
# run_with_valgrind "$test_file"
59+
# fi
60+
#done
61+
#echo_good "*** Integration tests succeeded ***"
6062

6163
# Run smol runtime example.
6264

0 commit comments

Comments
 (0)